|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jcs.auxiliary.remote.RemoteCacheRestore
Used to repair the remote caches managed by the associated instance of RemoteCacheManager. When there is an error the monitor kicks off. The Failover runner starts looks for a manager with a connection to a remote cache that is not in error. If a manager's connection to a remote cache is found to be in error, the restorer kicks off and tries to reconnect. When it is succesful, the status of the manager changes. When the failover runner finds that the primary is in good shape, it will switch back.
Constructor Summary | |
RemoteCacheRestore(RemoteCacheManager 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 |
Constructor Detail |
public RemoteCacheRestore(RemoteCacheManager rcm)
rcm
- Method Detail |
public boolean canFix()
canFix
in interface ICacheRestore
public void fix()
fix
in interface ICacheRestore
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |