|
||||||||||
| 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!
| Field Summary |
|---|
| Fields inherited from interface org.apache.jcs.engine.behavior.ICacheType |
|---|
CACHE_HUB, DISK_CACHE, LATERAL_CACHE, REMOTE_CACHE |
| Method Summary | |
|---|---|
protected IRemoteHttpCacheClient |
createRemoteHttpCacheClientForAttributes(RemoteHttpCacheAttributes cattr)
This is an extension point. |
AuxiliaryCache |
getCache(RemoteHttpCacheAttributes cattr)
Gets a RemoteCacheNoWait from the RemoteCacheManager. |
AuxiliaryCache |
getCache(java.lang.String cacheName)
Returns a remote cache for the given cache name. |
int |
getCacheType()
Gets the cacheType attribute of the RemoteCacheManager object |
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. |
java.lang.String |
getStats()
Gets the stats attribute of the RemoteCacheManager object |
protected void |
logApplicationEvent(java.lang.String source,
java.lang.String eventName,
java.lang.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 AuxiliaryCache getCache(java.lang.String cacheName)
getCache in interface AuxiliaryCacheManagercacheName -
public AuxiliaryCache 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 IRemoteHttpCacheClient createRemoteHttpCacheClientForAttributes(RemoteHttpCacheAttributes cattr)
cattr -
public java.lang.String getStats()
public int getCacheType()
getCacheType in interface ICacheTypepublic void shutdown()
shutdown in interface IShutdownObserverIShutdownObserver.shutdown()
protected void logApplicationEvent(java.lang.String source,
java.lang.String eventName,
java.lang.String optionalDetails)
source - eventName - optionalDetails -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||