約1,080件1ページ目

日本語のみで絞り込む

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

  • 最終更新日:1か月以内
  • 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 ...

    ... example (DbSingleton using the holder idiom) • Singleton vs static class ... Singleton Design Pattern in Java Explained (Thread-Safe, Holder Idiom, Enum) | ...

    YouTubeCode Silica

    ... safe, and how readResolve stops serialization from creating a copy. Get the full guides: Java Backend Interview Guide — 547 Questions with Answers ...

    YouTubeInterview Prep Hub

    2026/11/10 -Declaring a flag volatile does not automatically make every operation in the application thread-safe. It guarantees the specified volatile visibility and ...

    4日前 -Despite this class being thread-safe, we can see that there's a clear performance drawback: each time we want to get the instance of our singleton, we need ...

    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 ...

    2026/10/31 -The correct, thread-safe, lazy, reflection- and serialization-safe implementation in Java is an enum (Effective Java). If you need a class, use the static ...

    2026/11/12 -Create and control threads and explain the life cycle of a thread · Find race conditions and fix them with synchronized, locks or atomics · Run tasks with ...

    2026/10/30 -Creating singletons in a non-thread safe way leads to subtle, hard to reproduce concurrency issues: A singleton might sometimes be created more than once ...

    1日前 -Here are nine advanced Java interview questions worth preparing. 1. Implement a Thread-Safe Singleton. Can You Break It Using Reflection? Singleton is a ...