Update App.java

it is important to note that the singleton pattern is inherently unsafe for distributed environments, since the initialization state is not mirrored across different instances of the java vm
This commit is contained in:
mbirkenkamp 2015-03-14 13:48:02 +01:00
parent 6367335ff2
commit fe625c45be

View File

@ -3,7 +3,7 @@ package com.iluwatar;
/**
*
* Singleton pattern ensures that the class (IvoryTower) can have only one
* existing instance and provides global access to that instance.
* existing instance per java vm instance and provides global access to that it.
*
* http://stackoverflow.com/questions/70689/what-is-an-efficient-way-to-implement-a-singleton-pattern-in-java
*