public interface ICacheObserver
Modifier and Type | Method and Description |
---|---|
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.
|
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
Copyright © 2002-2013 Apache Software Foundation. All Rights Reserved.