|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.jts.CosTransactions.RecoveryManager
public class RecoveryManager
This class manages information required for recovery, and also general state regarding transactions in a process.
| Constructor Summary | |
|---|---|
RecoveryManager()
|
|
| Method Summary | |
|---|---|
static byte[] |
getRestart()
Gets the restart data for the process. |
static java.lang.Boolean |
isIncompleteTxRecoveryRequired()
|
static void |
recoverIncompleteTx(XAResource[] xaresArray)
|
static void |
recoverXAResources(java.util.Enumeration xaResources)
Recovers the in doubt transactions from the provided list of XAResource objects. |
static void |
registerTransactionRecoveryFence(TransactionRecoveryFence fence)
Register the implementation of Transaction recovery fence. |
static void |
setRestart(byte[] bytes)
Sets the restart data for the process. |
static int |
sizeOfInCompleTx()
|
static void |
startResyncThread()
Start resync thread |
static void |
startTransactionRecoveryFence()
Start Transaction recovery fence. |
static void |
waitForRecovery()
Waits for recovery to complete. |
static void |
waitForResync()
Waits for resync to complete. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RecoveryManager()
| Method Detail |
|---|
public static void recoverXAResources(java.util.Enumeration xaResources)
xaResources - enumerated list of XA Resources to be recoveredpublic static byte[] getRestart()
-
public static void setRestart(byte[] bytes)
bytes - The restart data.public static void waitForRecovery()
- public static void waitForResync()
- public static java.lang.Boolean isIncompleteTxRecoveryRequired()
public static int sizeOfInCompleTx()
public static void recoverIncompleteTx(XAResource[] xaresArray)
public static void registerTransactionRecoveryFence(TransactionRecoveryFence fence)
public static void startTransactionRecoveryFence()
public static void startResyncThread()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||