com.ibm.jbatch.container.persistence
Class ItemCheckpointAlgorithm
java.lang.Object
com.ibm.jbatch.container.persistence.ItemCheckpointAlgorithm
- All Implemented Interfaces:
- CheckpointAlgorithm
public final class ItemCheckpointAlgorithm
- extends Object
- implements CheckpointAlgorithm
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ItemCheckpointAlgorithm
public ItemCheckpointAlgorithm()
endCheckpoint
public void endCheckpoint()
throws Exception
- Specified by:
endCheckpoint in interface CheckpointAlgorithm
- Throws:
Exception
getCheckpointTimeOut
public int getCheckpointTimeOut(int timeOut)
throws Exception
- Throws:
Exception
isReadyToCheckpointItem
public boolean isReadyToCheckpointItem()
throws Exception
- Throws:
Exception
isReadyToCheckpointTime
public boolean isReadyToCheckpointTime()
throws Exception
- Throws:
Exception
setThreshold
public void setThreshold(int INthreshHold)
isReadyToCheckpoint
public boolean isReadyToCheckpoint()
throws Exception
- Specified by:
isReadyToCheckpoint in interface CheckpointAlgorithm
- Throws:
Exception
setThresholds
public void setThresholds(int itemthreshold,
int timethreshold)
beginCheckpoint
public void beginCheckpoint()
throws Exception
- Specified by:
beginCheckpoint in interface CheckpointAlgorithm
- Throws:
Exception
checkpointTimeout
public int checkpointTimeout()
throws Exception
- Specified by:
checkpointTimeout in interface CheckpointAlgorithm
- Throws:
Exception
Copyright © 2013. All Rights Reserved.