class CacheManager.CacheRejoinAction extends java.lang.Object implements TerracottaClientRejoinListener
Modifier and Type | Field and Description |
---|---|
private java.util.Collection<java.lang.ref.WeakReference<Cache>> |
caches |
Constructor and Description |
---|
CacheRejoinAction() |
Modifier and Type | Method and Description |
---|---|
void |
clusterRejoinComplete()
The Terracotta Client has rejoined the cluster.
|
void |
clusterRejoinStarted()
The Terracotta Client has rejoined the cluster.
|
void |
register(Cache cache)
Register a Cache implementation
|
void |
unregister(Cache cache)
Unregister a Cache implementation
|
void |
unregisterAll()
Unregister all caches
|
private final java.util.Collection<java.lang.ref.WeakReference<Cache>> caches
public void clusterRejoinStarted()
clusterRejoinStarted
in interface TerracottaClientRejoinListener
public void clusterRejoinComplete()
clusterRejoinComplete
in interface TerracottaClientRejoinListener
public void register(Cache cache)
cache
- the cachepublic void unregister(Cache cache)
cache
- the cachepublic void unregisterAll()