org.apache.jcs.auxiliary.lateral.socket.tcp
Class LateralTCPCacheFactory

java.lang.Object
  extended byorg.apache.jcs.auxiliary.lateral.LateralCacheAbstractFactory
      extended byorg.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 canl have multiple caches. The remote relationships are consolidated and restored via these managers. The facade provides a front to the composite cache so the implmenetation is transparent.


Constructor Summary
LateralTCPCacheFactory()
           
 
Method Summary
 AuxiliaryCache createCache(AuxiliaryCacheAttributes iaca, ICompositeCacheManager cacheMgr)
           
 void createListener(LateralCacheAttributes lac, ICompositeCacheManager cacheMgr)
          Makes sure a listener gets created.
 
Methods inherited from class org.apache.jcs.auxiliary.lateral.LateralCacheAbstractFactory
getName, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LateralTCPCacheFactory

public LateralTCPCacheFactory()
Method Detail

createCache

public AuxiliaryCache createCache(AuxiliaryCacheAttributes iaca,
                                  ICompositeCacheManager cacheMgr)
Specified by:
createCache in interface AuxiliaryCacheFactory
Specified by:
createCache in class LateralCacheAbstractFactory

createListener

public void createListener(LateralCacheAttributes 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 - LateralCacheAttributes
cacheMgr -


Copyright © 2002-2007 Apache Software Foundation. All Rights Reserved.