public class RemoteCacheFactory extends java.lang.Object implements AuxiliaryCacheFactory
| Constructor and Description |
|---|
RemoteCacheFactory() |
| Modifier and Type | Method and Description |
|---|---|
AuxiliaryCache |
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 java.util.HashMap |
getFacades()
The facades are what the cache hub talks to.
|
java.lang.String |
getName()
Gets the name attribute of the RemoteCacheFactory object
|
void |
setName(java.lang.String name)
Sets the name attribute of the RemoteCacheFactory object
|
public AuxiliaryCache 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 AuxiliaryCacheFactoryiaca - cacheMgr - cacheEventLogger - elementSerializer - public java.lang.String getName()
getName in interface AuxiliaryCacheFactorypublic void setName(java.lang.String name)
setName in interface AuxiliaryCacheFactoryname - The new name valuepublic static java.util.HashMap getFacades()
Copyright © 2002-2013 Apache Software Foundation. All Rights Reserved.