|
||||||||||
| 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(java.lang.String cacheName,
ICacheListener obj)
Subscribes to the specified cache. |
void |
removeCacheListener(ICacheListener obj)
Unsubscribes from all caches. |
void |
removeCacheListener(java.lang.String cacheName,
ICacheListener obj)
Unsubscribes from the specified cache. |
| Method Detail |
|---|
void addCacheListener(java.lang.String cacheName,
ICacheListener obj)
throws java.io.IOException
cacheName - the specified cache.obj - object to notify for cache changes.
java.io.IOException
void addCacheListener(ICacheListener obj)
throws java.io.IOException
obj - object to notify for all cache changes.
java.io.IOException
void removeCacheListener(java.lang.String cacheName,
ICacheListener obj)
throws java.io.IOException
cacheName - obj - existing subscriber.
java.io.IOException
void removeCacheListener(ICacheListener obj)
throws java.io.IOException
obj - existing subscriber.
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||