org.apache.jcs.auxiliary.lateral
Class LateralCacheRestore

java.lang.Object
  extended by org.apache.jcs.auxiliary.lateral.LateralCacheRestore
All Implemented Interfaces:
ICacheRestore

public class LateralCacheRestore
extends java.lang.Object
implements ICacheRestore

Used to repair the lateral caches managed by the associated instance of LateralCacheManager.


Constructor Summary
LateralCacheRestore(ILateralCacheManager lcm)
          Constructs with the given instance of LateralCacheManager.
 
Method Summary
 boolean canFix()
          Returns true iff the connection to the lateral host for the corresponding cache manager can be successfully re-established.
 void fix()
          Fixes up all the caches managed by the associated cache manager.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LateralCacheRestore

public LateralCacheRestore(ILateralCacheManager lcm)
Constructs with the given instance of LateralCacheManager.

Parameters:
lcm -
Method Detail

canFix

public boolean canFix()
Returns true iff the connection to the lateral host for the corresponding cache manager can be successfully re-established.

Specified by:
canFix in interface ICacheRestore
Returns:
whether or not the cache can be fixed.

fix

public void fix()
Fixes up all the caches managed by the associated cache manager.

Specified by:
fix in interface ICacheRestore


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