org.apache.jcs.auxiliary.lateral.behavior
Interface ILateralCacheManager

All Superinterfaces:
AuxiliaryCacheManager, ICacheType, java.io.Serializable
All Known Implementing Classes:
LateralCacheAbstractManager

public interface ILateralCacheManager
extends AuxiliaryCacheManager

This helps ensure some common behvior among LateraLCacheManagers for things such as montiors.

Author:
Aaron Smuts

Field Summary
 
Fields inherited from interface org.apache.jcs.engine.behavior.ICacheType
CACHE_HUB, DISK_CACHE, LATERAL_CACHE, REMOTE_CACHE
 
Method Summary
 void fixCaches(ILateralCacheService lateralService, ILateralCacheObserver lateralWatch)
          Sets the corected service.
 java.lang.Object fixService()
          The restore calls thsi on the manger if a cache if found to be in error.
 java.util.Map getCaches()
          This is a temporary solution that allos the monitor to get caches from an instance of a manager.
 java.util.Map getInstances()
          This is a temporary solution that allos the monitor to get the instances of a manager.
 
Methods inherited from interface org.apache.jcs.auxiliary.AuxiliaryCacheManager
getCache
 
Methods inherited from interface org.apache.jcs.engine.behavior.ICacheType
getCacheType
 

Method Detail

getInstances

public java.util.Map getInstances()
This is a temporary solution that allos the monitor to get the instances of a manager.

Returns:

getCaches

public java.util.Map getCaches()
This is a temporary solution that allos the monitor to get caches from an instance of a manager.

Returns:

fixService

public java.lang.Object fixService()
                            throws java.io.IOException
The restore calls thsi on the manger if a cache if found to be in error.

Returns:
Object is the service if it can be fixed.
Throws:
java.io.IOException - if the service cannot be fixed.

fixCaches

public void fixCaches(ILateralCacheService lateralService,
                      ILateralCacheObserver lateralWatch)
Sets the corected service. The restore process will call this if it gets a good service back from fixService.

Parameters:
lateralService -
lateralWatch -


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