com.ibm.ws.batch.container.checkpoint
Class TimeCheckpointAlgorithm

java.lang.Object
  extended by com.ibm.ws.batch.container.checkpoint.TimeCheckpointAlgorithm
All Implemented Interfaces:
CheckpointAlgorithm

public class TimeCheckpointAlgorithm
extends Object
implements CheckpointAlgorithm


Constructor Summary
TimeCheckpointAlgorithm()
           
 
Method Summary
 void beginCheckpoint()
           
 void endCheckpoint()
           
 int getCheckpointTimeOut(int timeOut)
           
 boolean isReadyToCheckpoint()
           
 void setThreshold(int INthreshHold)
           
 void setThresholds(int itemthreshold, int timethreshold)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TimeCheckpointAlgorithm

public TimeCheckpointAlgorithm()
Method Detail

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.