org.apache.jcs.auxiliary
Interface AuxiliaryCacheFactory

All Known Implementing Classes:
HSQLCacheFactory, IndexedDiskCacheFactory, JavaGroupsCacheFactory, JISPCacheFactory, LateralCacheFactory, RemoteCacheFactory

public interface AuxiliaryCacheFactory

Description of the Interface


Method Summary
 AuxiliaryCache createCache(AuxiliaryCacheAttributes attr, CompositeCache cache)
           
 java.lang.String getName()
          Gets the name attribute of the IAuxiliaryCacheFactory object
 void setName(java.lang.String s)
          Sets the name attribute of the IAuxiliaryCacheFactory object
 

Method Detail

createCache

public AuxiliaryCache createCache(AuxiliaryCacheAttributes attr,
                                  CompositeCache cache)
Parameters:
attr - Attributes the factory will use to create the AuxiliaryCache instance.
cache - The CompositeCache which will contain the AuxiliaryCache instance being created. Allows auxiliaries to retain a reference to their associated CompositeCache.

setName

public void setName(java.lang.String s)
Sets the name attribute of the IAuxiliaryCacheFactory object

Parameters:
s - The new name value

getName

public java.lang.String getName()
Gets the name attribute of the IAuxiliaryCacheFactory object

Returns:
The name value


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