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

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

public class ItemTimeCheckpointAlgorithm
extends Object
implements CheckpointAlgorithm


Constructor Summary
ItemTimeCheckpointAlgorithm()
           
 
Method Summary
 void endCheckpoint()
           
 int getCheckpointTimeOut(int timeOut)
           
 boolean isReadyToCheckpoint()
           
 boolean isReadyToCheckpointItem()
           
 boolean isReadyToCheckpointTime()
           
 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

ItemTimeCheckpointAlgorithm

public ItemTimeCheckpointAlgorithm()
Method Detail

endCheckpoint

public void endCheckpoint()
                   throws Exception
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)
Specified by:
setThreshold in interface CheckpointAlgorithm

isReadyToCheckpoint

public boolean isReadyToCheckpoint()
                            throws Exception
Specified by:
isReadyToCheckpoint in interface CheckpointAlgorithm
Throws:
Exception

setThresholds

public void setThresholds(int itemthreshold,
                          int timethreshold)
Specified by:
setThresholds in interface CheckpointAlgorithm


Copyright © 2013. All Rights Reserved.