org.apache.jcs.auxiliary.lateral.socket.tcp
Class LateralTCPCacheFactory
java.lang.Object
org.apache.jcs.auxiliary.lateral.LateralCacheAbstractFactory
org.apache.jcs.auxiliary.lateral.socket.tcp.LateralTCPCacheFactory
- All Implemented Interfaces:
- AuxiliaryCacheFactory
public class LateralTCPCacheFactory
- extends LateralCacheAbstractFactory
Constructs a LateralCacheNoWaitFacade for the given configuration. Each
lateral service / local relationship is managed by one manager. This manager
can have multiple caches. The remote relationships are consolidated and
restored via these managers.
The facade provides a front to the composite cache so the implementation is
transparent.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LateralTCPCacheFactory
public LateralTCPCacheFactory()
createCache
public AuxiliaryCache createCache(AuxiliaryCacheAttributes iaca,
ICompositeCacheManager cacheMgr)
- Specified by:
createCache
in interface AuxiliaryCacheFactory
- Specified by:
createCache
in class LateralCacheAbstractFactory
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.
- Returns:
- AuxiliaryCache
createListener
public void createListener(ILateralCacheAttributes lac,
ICompositeCacheManager cacheMgr)
- Description copied from class:
LateralCacheAbstractFactory
- Makes sure a listener gets created. It will get monitored as soon as it
is used.
This should be called by create cache.
- Specified by:
createListener
in class LateralCacheAbstractFactory
- Parameters:
lac
- ILateralCacheAttributes
Copyright © 2002-2007 Apache Software Foundation. All Rights Reserved.