|
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. |
java.util.List |
getBoundCachePeers()
All of the caches which are listenting for remote changes. |
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. |
Methods inherited from interface net.sf.ehcache.event.CacheManagerEventListener |
---|
dispose, getStatus, init, notifyCacheAdded, notifyCacheRemoved |
Method Detail |
---|
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
|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |