Class AbstractCache
java.lang.Object
is.galia.cache.AbstractCache
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addObserver
(CacheObserver observer) protected Set
<CacheObserver>
-
Constructor Details
-
AbstractCache
public AbstractCache()
-
-
Method Details
-
addObserver
- Parameters:
observer
- Instance to add. A weak reference to it will be maintained, so there will be no need to remove it later.
-
getAllObservers
- Returns:
- Immutable copy of the internal instance. Use
addObserver(CacheObserver)
to add observers.
-