|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CacheManagerPeerListener
A listener for updates, which controls remote cache peers.
Method Summary | |
---|---|
void |
attemptResolutionOfUniqueResourceConflict()
If a conflict is detected in unique resource use, this method signals the listener to attempt automatic resolution of the resource conflict. |
List |
getBoundCachePeers()
All of the caches which are listening for remote changes. |
String |
getScheme()
The replication scheme this listener interacts with. |
String |
getUniqueResourceIdentifier()
A listener will normally have a resource that only one instance can use at the same time, such as a port. |
Methods inherited from interface net.sf.ehcache.event.CacheManagerEventListener |
---|
dispose, getStatus, init, notifyCacheAdded, notifyCacheRemoved |
Method Detail |
---|
List getBoundCachePeers()
CachePeer
objectsString getUniqueResourceIdentifier()
void attemptResolutionOfUniqueResourceConflict() throws IllegalStateException, CacheException
IllegalStateException
- if the statis of the listener is not Status.STATUS_UNINITIALISED
CacheException
String getScheme()
|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |