約669件1ページ目

日本語のみで絞り込む

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

  • 最終更新日:3か月以内
  • 2026/10/23 -Lazy or Eager Initialization: An Instance can be created at class load time (eager) or when first needed (lazy). Thread Safety: Can be designed to work ...

    2026/10/15 -Choose the holder approach when you want a regular class with lazy, thread-safe initialization. Choose an enum when its type constraints fit and the built ...

    3日前 -Separate one-time construction from concurrent state safety, and discuss lazy initialization, atomic operations, volatile, and the effect of shared instances on ...

    2026/9/23 -This is a widely used approach for a Singleton class as it doesn't require synchronization, is thread safe, enforces lazy initialization and has comparatively ...

    2026/10/13 -In all versions of Java, the idiom enables a safe, highly concurrent lazy initialization of static fields with good performance. ... While the implementation is ...

    Understand lazy initialization, thread-safe singleton creation, double ... Java Multithreading in One Shot | Thread | Runnable | Callable | ExecutorService | ...

    YouTubeProgramming Tutorials

    2026/9/7 -Lazy Initialization (Not Thread-safe); Thread-Safe Singleton (Synchronized Method) ... This approach ensures lazy initialization without synchronization overhead.

    2026/8/16 -... lazy initialization and thread safety without explicit synchronization. The Singleton instance is stored as a static final field inside the helper class.

    2026/10/28 -Learn how Java Singleton works with enum and holder implementations, runnable code, thread-safety limits, serialization, and practical alternatives.

    2026/10/28 -We explored how to implement a singleton pattern with lazy loading and thread safety. Then we investigated the singleton bean scope in Spring and explored ...