public class RemoteCacheFactory extends Object implements AuxiliaryCacheFactory
Constructor and Description |
---|
RemoteCacheFactory() |
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.
|
static HashMap<String,RemoteCacheNoWaitFacade<?,?>> |
getFacades()
The facades are what the cache hub talks to.
|
String |
getName()
Gets the name attribute of the RemoteCacheFactory object
|
void |
setName(String name)
Sets the name attribute of the RemoteCacheFactory object
|
public <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.
createCache
in interface AuxiliaryCacheFactory
iaca
- cacheMgr
- cacheEventLogger
- elementSerializer
- public String getName()
getName
in interface AuxiliaryCacheFactory
public void setName(String name)
setName
in interface AuxiliaryCacheFactory
name
- The new name valuepublic static HashMap<String,RemoteCacheNoWaitFacade<?,?>> getFacades()
Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.