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

All Superinterfaces:
AuxiliaryCacheManager, ICacheType, Serializable
All Known Implementing Classes:
LateralCacheAbstractManager, LateralTCPCacheManager

public interface ILateralCacheManager
extends AuxiliaryCacheManager

This helps ensure some common behavior among LateraLCacheManagers for things such as monitors.

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 corrected service.
 Object fixService()
          The restore calls this on the manger if a cache if found to be in error.
 Map getCaches()
          This is a temporary solution that allows the monitor to get caches from an instance of a manager.
 Map getInstances()
          This is a temporary solution that allows 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

Map getInstances()
This is a temporary solution that allows the monitor to get the instances of a manager.

Returns:
Map

getCaches

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

Returns:
Map

fixService

Object fixService()
                  throws IOException
The restore calls this on the manger if a cache if found to be in error.

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

fixCaches

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

Parameters:
lateralService -
lateralWatch -


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