Update comment
This commit is contained in:
parent
0d068a35d8
commit
5d970438bf
@ -4,6 +4,8 @@ package com.iluwatar.singleton;
|
|||||||
* Thread-safe Singleton class.
|
* Thread-safe Singleton class.
|
||||||
* The instance is lazily initialized and thus needs synchronization
|
* The instance is lazily initialized and thus needs synchronization
|
||||||
* mechanism.
|
* mechanism.
|
||||||
|
*
|
||||||
|
* Note: if created by reflection then a singleton will not be created but multiple options in the same classloader
|
||||||
*/
|
*/
|
||||||
public class ThreadSafeLazyLoadedIvoryTower {
|
public class ThreadSafeLazyLoadedIvoryTower {
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user