|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jcs.auxiliary.remote.http.client.RemoteHttpCacheManager
public class RemoteHttpCacheManager
This is a very crude copy of the RMI remote manager. It needs a lot of work!
| Method Summary | ||
|---|---|---|
protected
|
createRemoteHttpCacheClientForAttributes(RemoteHttpCacheAttributes cattr)
This is an extension point. |
|
|
getCache(RemoteHttpCacheAttributes cattr)
Gets a RemoteCacheNoWait from the RemoteCacheManager. |
|
|
getCache(String cacheName)
Returns a remote cache for the given cache name. |
|
IRemoteCacheAttributes |
getDefaultCattr()
Gets the defaultCattr attribute of the RemoteCacheManager object. |
|
static RemoteHttpCacheManager |
getInstance()
|
|
static RemoteHttpCacheManager |
getInstance(ICompositeCacheManager cacheMgr,
ICacheEventLogger cacheEventLogger,
IElementSerializer elementSerializer)
Get the singleton instance. |
|
String |
getStats()
Gets the stats attribute of the RemoteCacheManager object |
|
protected void |
logApplicationEvent(String source,
String eventName,
String optionalDetails)
Logs an event if an event logger is configured. |
|
void |
shutdown()
Shutdown callback from composite cache manager. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public IRemoteCacheAttributes getDefaultCattr()
public static RemoteHttpCacheManager getInstance()
public static RemoteHttpCacheManager getInstance(ICompositeCacheManager cacheMgr,
ICacheEventLogger cacheEventLogger,
IElementSerializer elementSerializer)
cacheMgr - cacheEventLogger - elementSerializer -
public <K extends Serializable,V extends Serializable> RemoteCacheNoWait<K,V> getCache(String cacheName)
getCache in interface AuxiliaryCacheManagercacheName -
public <K extends Serializable,V extends Serializable> RemoteCacheNoWait<K,V> getCache(RemoteHttpCacheAttributes cattr)
If the client is configured to register a listener, this call results on a listener being created if one isn't already registered with the remote cache for this region.
cattr -
protected <K extends Serializable,V extends Serializable> IRemoteHttpCacheClient<K,V> createRemoteHttpCacheClientForAttributes(RemoteHttpCacheAttributes cattr)
cattr -
public String getStats()
public void shutdown()
shutdown in interface IShutdownObserverIShutdownObserver.shutdown()
protected void logApplicationEvent(String source,
String eventName,
String optionalDetails)
source - eventName - optionalDetails -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||