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

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

public class ItemCheckpointAlgorithm
extends Object
implements CheckpointAlgorithm


Constructor Summary
ItemCheckpointAlgorithm()
           
 
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

ItemCheckpointAlgorithm

public ItemCheckpointAlgorithm()
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.