|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CheckpointRestartInterface
This interface is implemented by connectors, parsers and eventhandlers that support checkpoint/restart.
Field Summary | |
---|---|
static int |
RESTART_AFTER
|
static int |
RESTART_BEFORE
|
static int |
RESTART_IN
|
Method Summary | |
---|---|
Entry |
getCheckpointInformation()
Returns the state information for the connector. |
boolean |
isCheckpointRestartEnabled(int mode)
Components that support checkpoint/restart for a specific mode must return TRUE from this method. |
void |
prepareForRestart(ALState state,
Entry restartInfo,
int restartPoint)
Notifies the connector of a restart situation. |
Field Detail |
---|
static final int RESTART_BEFORE
static final int RESTART_IN
static final int RESTART_AFTER
Method Detail |
---|
boolean isCheckpointRestartEnabled(int mode)
mode
- The mode the connector runs in
ServerConstants
Entry getCheckpointInformation() throws Exception
Exception
void prepareForRestart(ALState state, Entry restartInfo, int restartPoint) throws Exception
restartInfo
- The last entry object returned by the connector in the getCheckpointInformation methodstate
- The ALState object for the AssemblyLinerestartPoint
- The relative point where restarting is taking place (e.g. RESTART_BEFORE ...)
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |