|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.arjuna.ats.arjuna.recovery.RecoveryManager
The RecoveryManager daemon.
Field Summary | |
static int |
DIRECT_MANAGEMENT
In this mode the recovery manager does not run periodically and will only work if driven through messages or via the scan operation if it is embedded. |
static int |
INDIRECT_MANAGEMENT
In this mode the recovery manager runs periodically but may also be driven through messages or via the scan operation if it is embedded. |
Method Summary | |
void |
addModule(RecoveryModule module)
Add a recovery module to the system. |
static void |
delayRecoveryManagerThread()
Delay the start of the recovery manager thread when creating an indirect recovery manager. |
java.util.Vector |
getModules()
|
static void |
main(java.lang.String[] args)
Run the RecoveryManager. |
static RecoveryManager |
manager()
Obtain a reference to the RecoveryManager singleton. |
static RecoveryManager |
manager(int mode)
Obtain a reference to the RecoveryManager singleton. |
int |
mode()
Indicates what mode (INDIRECT_MANAGEMENT or DIRECT_MANAGEMENT) the recovery manager is configured for. |
void |
scan()
Force a recovery scan now. |
void |
scan(RecoveryScan callback)
Force a recovery scan now. |
void |
startRecoveryManagerThread()
Start the recovery manager thread. |
void |
stop()
Stop the periodic recovery manager. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int INDIRECT_MANAGEMENT
public static final int DIRECT_MANAGEMENT
Method Detail |
public static final RecoveryManager manager() throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
public static final RecoveryManager manager(int mode) throws java.lang.IllegalArgumentException
mode
- the management mode for the manager.
java.lang.IllegalArgumentException
public static void delayRecoveryManagerThread()
public final void scan()
public final void scan(RecoveryScan callback)
public final void stop()
public void startRecoveryManagerThread()
public final void addModule(RecoveryModule module)
public final java.util.Vector getModules()
public final int mode()
public static void main(java.lang.String[] args)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |