|
||||||||||
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(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. |
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 AuxiliaryCache getCache(String cacheName)
getCache
in interface AuxiliaryCacheManager
cacheName
-
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 String getStats()
public int getCacheType()
getCacheType
in interface ICacheType
public void shutdown()
shutdown
in interface IShutdownObserver
IShutdownObserver.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 |