public class RemoteHttpCacheFactory extends AbstractAuxiliaryCacheFactory
| Constructor and Description |
|---|
RemoteHttpCacheFactory() |
| Modifier and Type | Method and Description |
|---|---|
<K,V> AuxiliaryCache<K,V> |
createCache(AuxiliaryCacheAttributes iaca,
ICompositeCacheManager cacheMgr,
ICacheEventLogger cacheEventLogger,
IElementSerializer elementSerializer)
For LOCAL clients we get a handle to all the failovers, but we do not register a listener
with them.
|
protected <V,K> IRemoteHttpCacheClient<K,V> |
createRemoteHttpCacheClientForAttributes(RemoteHttpCacheAttributes cattr)
This is an extension point.
|
void |
dispose()
Dispose of this factory, clean up shared resources
|
void |
initialize()
Initialize this factory
|
getName, setNamepublic <K,V> AuxiliaryCache<K,V> createCache(AuxiliaryCacheAttributes iaca, ICompositeCacheManager cacheMgr, ICacheEventLogger cacheEventLogger, IElementSerializer elementSerializer)
The failover runner will get a cache from the manager. When the primary is restored it will tell the manager for the failover to deregister the listener.
iaca - cacheMgr - cacheEventLogger - elementSerializer - protected <V,K> IRemoteHttpCacheClient<K,V> createRemoteHttpCacheClientForAttributes(RemoteHttpCacheAttributes cattr)
cattr - the cache configurationpublic void initialize()
AuxiliaryCacheFactoryAuxiliaryCacheFactory.initialize()public void dispose()
AuxiliaryCacheFactoryAuxiliaryCacheFactory.dispose()Copyright © 2002–2022 The Apache Software Foundation. All rights reserved.