public interface Checkpointable
Modifier and Type | Method and Description |
---|---|
void |
doCheckpoint(Checkpoint checkpointInProgress)
Do the actual checkpoint.
|
void |
finishCheckpoint(Checkpoint checkpointInProgress)
Cleanup/unlock; need not complete for a checkpoint to be valid.
|
void |
setRecoveryCheckpoint(Checkpoint recoveryCheckpoint)
Used to inform a bean that it should restore its state from
the given Checkpoint when launched (Lifecycle start()).
|
void |
startCheckpoint(Checkpoint checkpointInProgress)
Note a checkpoint is about to begin.
|
void startCheckpoint(Checkpoint checkpointInProgress)
checkpointInProgress
- Checkpointvoid doCheckpoint(Checkpoint checkpointInProgress) throws IOException
checkpointInProgress
- CheckpointIOException
void finishCheckpoint(Checkpoint checkpointInProgress)
checkpointInProgress
- Checkpointvoid setRecoveryCheckpoint(Checkpoint recoveryCheckpoint)
recoveryCheckpoint
- CheckpointCopyright © 2003-2014 Internet Archive. All Rights Reserved.