約3,940件1ページ目

日本語のみで絞り込む

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

  • 最終更新日:3か月以内
  • 2026/10/23 -It is simple and thread-safe, but may lead to unnecessary resource usage. Example: Static initializer based Java implementation of singleton design pattern. C++ ...

    4日前 -In this tutorial, we'll talk about the double-checked locking design pattern. This pattern reduces the number of lock acquisitions by simply checking the ...

    The Singleton pattern ensures a class has only one instance and provides a global point of access to it. Shared resources such as a database connection, ...

    YouTubeCode Silica

    2026/10/28 -It's already threadsafe because java static field/class initialization is thread safe – at JVM level. Static initialization is performed once per class ...

    4日前 -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/9/7 -This method is thread-safe and performs the serialization automatically. It cannot be inherited from another class. It is considered one of the best ways to ...

    3日前 -A singleton-scoped bean should be stateless or provably thread-safe, and the tooling can help: @GuardedBy annotations, Error Prone, race detectors in CI.

    2026/11/14 -Service clients are thread-safe. You can safely share them across multiple threads. Close clients only when your application shuts down or if you no longer need ...

    Understand lazy initialization, thread-safe singleton creation, double ... Java Virtual Threads Explained: What Problem Do They Actually Solve?

    YouTubeProgramming Tutorials

    2026/10/4 -Start with the singleton's scope and lifetime, then separate unique construction, safe publication, and safe operations on its state. Eager construction or the ...