|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ICacheObserver
Used to register interest in receiving cache changes.
Note: server which implements this interface provides a local cache event
notification service, whereas server which implements IRmiCacheWatch provides
a remote cache event notification service.
Method Summary | |
---|---|
void |
addCacheListener(ICacheListener obj)
Subscribes to all caches. |
void |
addCacheListener(String cacheName,
ICacheListener obj)
Subscribes to the specified cache. |
void |
removeCacheListener(ICacheListener obj)
Unsubscribes from all caches. |
void |
removeCacheListener(String cacheName,
ICacheListener obj)
Unsubscribes from the specified cache. |
Method Detail |
---|
void addCacheListener(String cacheName, ICacheListener obj) throws IOException
cacheName
- the specified cache.obj
- object to notify for cache changes.
IOException
void addCacheListener(ICacheListener obj) throws IOException
obj
- object to notify for all cache changes.
IOException
void removeCacheListener(String cacheName, ICacheListener obj) throws IOException
cacheName
- obj
- existing subscriber.
IOException
void removeCacheListener(ICacheListener obj) throws IOException
obj
- existing subscriber.
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |