org.apache.jcs.auxiliary.remote.server
Class RemoteCacheClusterRestore

java.lang.Object
  extended byorg.apache.jcs.auxiliary.remote.server.RemoteCacheClusterRestore
All Implemented Interfaces:
ICacheRestore

public class RemoteCacheClusterRestore
extends java.lang.Object
implements ICacheRestore

Used to repair the remote caches managed by the associated instance of RemoteCacheManager.

Author:
asmuts

Field Summary
private  boolean canFix
           
private static org.apache.commons.logging.Log log
           
private  RemoteCacheClusterManager rcm
           
private  java.lang.Object remoteObj
           
 
Constructor Summary
RemoteCacheClusterRestore(RemoteCacheClusterManager rcm)
          Constructs with the given instance of RemoteCacheManager.
 
Method Summary
 boolean canFix()
          Returns true if the connection to the remote 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
 

Field Detail

log

private static final org.apache.commons.logging.Log log

rcm

private final RemoteCacheClusterManager rcm

canFix

private boolean canFix

remoteObj

private java.lang.Object remoteObj
Constructor Detail

RemoteCacheClusterRestore

public RemoteCacheClusterRestore(RemoteCacheClusterManager rcm)
Constructs with the given instance of RemoteCacheManager.

Parameters:
rcm -
Method Detail

canFix

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

Specified by:
canFix in interface ICacheRestore

fix

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

Specified by:
fix in interface ICacheRestore