約5,110件1ページ目

日本語のみで絞り込む

条件を指定して検索しています。すべての条件を解除する

  • 最終更新日:6か月以内
  • 3日前 -Explain the Singleton pattern and show how to implement a thread-safe singleton in Java. Then explain how you would ensure thread safety for operations on ...

    2026/6/26 -Comparison of common Singleton implementation strategies based on thread safety, lazy loading, performance, and protection against reflection and serialization ...

    2026/10/23 -This helps save memory and resources, but the basic implementation is not thread-safe. Example: Classical Java implementation of singleton design pattern. C++ ...

    2026/10/28 -In this tutorial, we'll first look at the singleton design pattern and its thread-safe implementation. Then, we'll look at the singleton bean scope in ...

    2026/10/13 -While the implementation is an efficient thread-safe "singleton" cache without synchronization overhead, and better performing than uncontended ...

    Learn the Singleton Design Pattern in Java with 6 implementations, practical ... Understand lazy initialization, thread-safe singleton creation, double ...

    YouTubeProgramming Tutorials

    2026/7/2 -Class initialization in Java is guaranteed to be thread-safe by the JLS (Java Language Specification), so no explicit synchronization is needed. The Bill Pugh ...

    2026/5/18 -Thread Safety: Ensures that only one thread or one connection accesses a shared resource at a time in multi-threaded environments. Example of singleton classes ...

    2026/10/15 -And even when initialization is thread-safe, the object's mutable state may still need protection. Let's explore six ways to implement a Java singleton ...

    2026/9/7 -To make the above approach thread-safe, the synchronized method is used inside the getInstance() method. When a thread enters the synchronized method, it locks ...