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

All Superinterfaces:
AuxiliaryCacheManager
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

Method Summary
 void fixCaches(ICacheServiceNonLocal<Serializable,Serializable> 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<String,LateralCacheNoWait<? extends Serializable,? extends Serializable>> getCaches()
          This is a temporary solution that allows the monitor to get caches from an instance of a manager.
 Map<String,? extends ILateralCacheManager> 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
 

Method Detail

getInstances

Map<String,? extends ILateralCacheManager> getInstances()
This is a temporary solution that allows the monitor to get the instances of a manager.

Returns:
Map

getCaches

Map<String,LateralCacheNoWait<? extends Serializable,? extends Serializable>> 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(ICacheServiceNonLocal<Serializable,Serializable> 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-2013 The Apache Software Foundation. All Rights Reserved.