約1,040件1ページ目

日本語のみで絞り込む

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

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

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

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

    The Singleton pattern and its thread-safe versions in Java, explained for beginners slide by slide. 0:00 One control tower, one object 0:04 The naive ...

    YouTubeInterview Prep Hub

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

    2日前 -... Singleton is easy. Creating a thread-safe Singleton is where interviews get interesting. 1. What Is the Singleton Pattern? Singleton ensures that ...

    1日前 -1. Implement a Thread-Safe Singleton. Can You Break It Using Reflection? Singleton is a common design pattern, but implementing it correctly in a multithreaded ...

    2026/11/7 -The first covered the Singleton pattern, including a thread-safe one in Java, along with thread safety and UNION versus UNION ALL in SQL. The second ...

    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 (so it ...