|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjavax.batch.api.chunk.AbstractCheckpointAlgorithm
public abstract class AbstractCheckpointAlgorithm
The AbstractCheckpointAlgorithm provides default implementations of optional methods.
| Constructor Summary | |
|---|---|
AbstractCheckpointAlgorithm()
|
|
| Method Summary | |
|---|---|
void |
beginCheckpoint()
Optional method. |
int |
checkpointTimeout()
Optional method. |
void |
endCheckpoint()
Optional method. |
abstract boolean |
isReadyToCheckpoint()
Required method. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractCheckpointAlgorithm()
| Method Detail |
|---|
public int checkpointTimeout()
throws Exception
checkpointTimeout in interface CheckpointAlgorithmException - (or subclass) if an error occurs.
public void beginCheckpoint()
throws Exception
beginCheckpoint in interface CheckpointAlgorithmException - (or subclass) if an error occurs.
public abstract boolean isReadyToCheckpoint()
throws Exception
isReadyToCheckpoint in interface CheckpointAlgorithmException - (or subclass) if an error occurs.
public void endCheckpoint()
throws Exception
endCheckpoint in interface CheckpointAlgorithmException - (or subclass) if an error occurs.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
© Copyright IBM Corp. 2013
Licensed under the Apache License, Version 2.0