|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
@Deprecated public interface CheckpointRestartInterface
This interface is implemented by connectors and parsers that support checkpoint/restart.
| Field Summary | |
|---|---|
static int |
RESTART_AFTER
Deprecated. Restart after current point. |
static int |
RESTART_BEFORE
Deprecated. Restart before current point. |
static int |
RESTART_IN
Deprecated. Restart at current point. |
| Method Summary | |
|---|---|
Entry |
getCheckpointInformation()
Deprecated. Returns the state information for the connector. |
boolean |
isCheckpointRestartEnabled(int mode)
Deprecated. Components that support checkpoint/restart for a specific mode must return TRUE from this method. |
void |
prepareForRestart(ALState state,
Entry restartInfo,
int restartPoint)
Deprecated. 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 - if problem occurs
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 - if problem occurs
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||