|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atomikos.persistence.imp.StateRecoveryManagerImp
public class StateRecoveryManagerImp
Default implementation of a state recovery manager.
| Constructor Summary | |
|---|---|
StateRecoveryManagerImp()
|
|
| Method Summary | |
|---|---|
void |
close()
Shutdown. |
void |
preEnter(FSMEnterEvent event)
Called BEFORE the FSM enters the new state, so that the callee is sure that nobody has seen the new state yet. |
void |
register(RecoverableCoordinator staterecoverable)
Register a staterecoverable with the recovery manager service. |
void |
setOltpLog(OltpLog oltpLog)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StateRecoveryManagerImp()
| Method Detail |
|---|
public void register(RecoverableCoordinator staterecoverable)
StateRecoveryManager
register in interface StateRecoveryManagerstaterecoverable - The object that wants recoverable states.StateRecoveryManager
public void preEnter(FSMEnterEvent event)
throws IllegalStateException
FSMPreEnterListener
preEnter in interface FSMPreEnterListenerIllegalStateException - on failure.
The callee can use this to prevent the state change from
happening.FSMPreEnterListener
public void close()
throws LogException
StateRecoveryManager
close in interface StateRecoveryManagerLogException - For underlying log failure.StateRecoveryManagerpublic void setOltpLog(OltpLog oltpLog)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||