public interface CacheManagerPeerListener extends CacheManagerEventListener
Modifier and Type | Method and Description |
---|---|
void |
attemptResolutionOfUniqueResourceConflict()
If a conflict is detected in unique resource use, this method signals the listener to attempt
automatic resolution of the resource conflict.
|
java.util.List |
getBoundCachePeers()
All of the caches which are listening for remote changes.
|
java.lang.String |
getScheme()
The replication scheme this listener interacts with.
|
java.lang.String |
getUniqueResourceIdentifier()
A listener will normally have a resource that only one instance can use at the same time,
such as a port.
|
dispose, getStatus, init, notifyCacheAdded, notifyCacheRemoved
java.util.List getBoundCachePeers()
CachePeer
objectsjava.lang.String getUniqueResourceIdentifier()
void attemptResolutionOfUniqueResourceConflict() throws java.lang.IllegalStateException, CacheException
java.lang.IllegalStateException
- if the statis of the listener is not Status.STATUS_UNINITIALISED
CacheException
java.lang.String getScheme()