com.sun.jts.CosTransactions
Class DelegatedRecoveryManager
java.lang.Object
com.sun.jts.CosTransactions.DelegatedRecoveryManager
public class DelegatedRecoveryManager
- extends java.lang.Object
This class manages information required for Delegated recovery. This class supports
multiple delegated recoveries at the same time. Functionality is alsomost same as
RecoveryManager.java. This class maintains the map between state and log location
instead of static data incase of Recovery Manager.
- Version:
- 0.01
- Author:
- Sankara Rao Bhogi
- See Also:
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DelegatedRecoveryManager
public DelegatedRecoveryManager()
delegated_recover
public static boolean delegated_recover(java.lang.String logPath,
XAResource[] resources)
throws java.lang.Exception
- Throws:
java.lang.Exception
delegated_recover
public static boolean delegated_recover(java.lang.String serverName,
java.lang.String logPath,
XAResource[] resources)
throws java.lang.Exception
- Throws:
java.lang.Exception
waitForRecovery
public static void waitForRecovery(java.lang.String logPath)
waitForResync
public static void waitForResync(java.lang.String logPath)
- Waits for resync to complete.
- Parameters:
logPath - log location for which the delegated recovery is done- See Also:
Copyright © 2012 GlassFish Community. All Rights Reserved.