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