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 ICacheObserver
cacheName
- The feature to be added to the CacheListener attributeobj
- The feature to be added to the CacheListener attributejava.io.IOException
public void addCacheListener(ICacheListener obj) throws java.io.IOException
addCacheListener
in interface ICacheObserver
obj
- The feature to be added to the CacheListener attributejava.io.IOException
public void removeCacheListener(java.lang.String cacheName, ICacheListener obj) throws java.io.IOException
removeCacheListener
in interface ICacheObserver
cacheName
- obj
- java.io.IOException
public void removeCacheListener(ICacheListener obj) throws java.io.IOException
ICacheObserver
removeCacheListener
in interface ICacheObserver
obj
- java.io.IOException
Copyright © 2002-2013 Apache Software Foundation. All Rights Reserved.