public class CacheWatchRepairable extends java.lang.Object implements ICacheObserver
| Constructor and Description |
|---|
CacheWatchRepairable() |
| Modifier and Type | Method and Description |
|---|---|
void |
addCacheListener(ICacheListener obj)
Adds a feature to the CacheListener attribute of the CacheWatchRepairable object
|
void |
addCacheListener(java.lang.String cacheName,
ICacheListener obj)
Adds a feature to the CacheListener attribute of the CacheWatchRepairable object
|
void |
removeCacheListener(ICacheListener obj)
Unsubscribes from all caches.
|
void |
removeCacheListener(java.lang.String cacheName,
ICacheListener obj)
Tell the server to release us.
|
void |
setCacheWatch(ICacheObserver cacheWatch)
Replaces the underlying cache watch service and reattached all existing listeners to the new
cache watch.
|
public void setCacheWatch(ICacheObserver cacheWatch)
cacheWatch - The new cacheWatch valuepublic void addCacheListener(java.lang.String cacheName,
ICacheListener obj)
throws java.io.IOException
addCacheListener in interface ICacheObservercacheName - The feature to be added to the CacheListener attributeobj - The feature to be added to the CacheListener attributejava.io.IOExceptionpublic void addCacheListener(ICacheListener obj) throws java.io.IOException
addCacheListener in interface ICacheObserverobj - The feature to be added to the CacheListener attributejava.io.IOExceptionpublic void removeCacheListener(java.lang.String cacheName,
ICacheListener obj)
throws java.io.IOException
removeCacheListener in interface ICacheObservercacheName - obj - java.io.IOExceptionpublic void removeCacheListener(ICacheListener obj) throws java.io.IOException
ICacheObserverremoveCacheListener in interface ICacheObserverobj - java.io.IOExceptionCopyright © 2002-2013 Apache Software Foundation. All Rights Reserved.