public class RemoteHttpCacheManager extends Object implements AuxiliaryCacheManager, IShutdownObserver
Modifier and Type | Method and Description |
---|---|
protected <K,V> IRemoteHttpCacheClient<K,V> |
createRemoteHttpCacheClientForAttributes(RemoteHttpCacheAttributes cattr)
This is an extension point.
|
<K,V> RemoteCacheNoWait<K,V> |
getCache(RemoteHttpCacheAttributes cattr)
Gets a RemoteCacheNoWait from the RemoteCacheManager.
|
<K,V> RemoteCacheNoWait<K,V> |
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.
|
public IRemoteCacheAttributes getDefaultCattr()
public static RemoteHttpCacheManager getInstance()
public static RemoteHttpCacheManager getInstance(ICompositeCacheManager cacheMgr, ICacheEventLogger cacheEventLogger, IElementSerializer elementSerializer)
cacheMgr
- cacheEventLogger
- elementSerializer
- public <K,V> RemoteCacheNoWait<K,V> getCache(String cacheName)
getCache
in interface AuxiliaryCacheManager
cacheName
- public <K,V> 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,V> IRemoteHttpCacheClient<K,V> createRemoteHttpCacheClientForAttributes(RemoteHttpCacheAttributes cattr)
cattr
- public String getStats()
public void shutdown()
shutdown
in interface IShutdownObserver
IShutdownObserver.shutdown()
Copyright © 2002–2015 The Apache Software Foundation. All rights reserved.