|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jcs.auxiliary.remote.RemoteCacheFactory
The RemoteCacheFactory creates remote caches for the cache hub. It returns a no wait facade which is a wrapper around a no wait. The no wait object is either an active connection to a remote cache or a balking zombie if the remote cache is not accessible. It should be transparent to the clients.
Constructor Summary | |
RemoteCacheFactory()
|
Method Summary | |
AuxiliaryCache |
createCache(AuxiliaryCacheAttributes iaca,
ICompositeCacheManager cacheMgr)
|
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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public RemoteCacheFactory()
Method Detail |
public AuxiliaryCache createCache(AuxiliaryCacheAttributes iaca, ICompositeCacheManager cacheMgr)
createCache
in interface AuxiliaryCacheFactory
iaca
- cacheMgr
- This allows auxiliaries to reference the manager without
assuming that it is a singleton. This will allow JCS to be a
nonsingleton. Also, it makes it easier to test.
public java.lang.String getName()
getName
in interface AuxiliaryCacheFactory
public void setName(java.lang.String name)
setName
in interface AuxiliaryCacheFactory
name
- The new name valuepublic static java.util.HashMap getFacades()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |