org.jactr.tools.async.iterative.tracker
Class IterativeRunTracker

java.lang.Object
  extended by org.jactr.tools.async.common.MINAEndpoint
      extended by org.jactr.tools.async.iterative.tracker.IterativeRunTracker
All Implemented Interfaces:
org.jactr.core.utils.parameter.IParameterized

public class IterativeRunTracker
extends MINAEndpoint

Author:
developer

Field Summary
 
Fields inherited from class org.jactr.tools.async.common.MINAEndpoint
ADDRESS, CRED_CLASS, CREDENTAILS, PROTOCOL_CLASS, SERVICE_CLASS, TRANSPORT_CLASS
 
Constructor Summary
IterativeRunTracker()
           
 
Method Summary
 int getCurrentIteration()
           
 long getEstimatedDuration()
           
 long getETA()
           
 java.util.Collection<java.lang.Integer> getExceptionCycles()
           
 BaseIOHandler getIOHandler()
          return the io handler that handles all the communications
 long getTimeToCompletion()
           
 int getTotalIterations()
           
 void setDeadLockListener(IDeadLockListener listener)
           
 void start()
           
 void stop()
           
 
Methods inherited from class org.jactr.tools.async.common.MINAEndpoint
getActualAddress, getActualCredentials, getExecutorService, getParameter, getPossibleParameters, getSetableParameters, setAddressInfo, setCredentialInformation, setCredentialsClass, setExecutorService, setParameter, setProtocol, setService, setTransportProvider
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IterativeRunTracker

public IterativeRunTracker()
Method Detail

setDeadLockListener

public void setDeadLockListener(IDeadLockListener listener)

getCurrentIteration

public int getCurrentIteration()

getTotalIterations

public int getTotalIterations()

getEstimatedDuration

public long getEstimatedDuration()

getTimeToCompletion

public long getTimeToCompletion()

getETA

public long getETA()

getExceptionCycles

public java.util.Collection<java.lang.Integer> getExceptionCycles()

getIOHandler

public BaseIOHandler getIOHandler()
Description copied from class: MINAEndpoint
return the io handler that handles all the communications

Specified by:
getIOHandler in class MINAEndpoint
Returns:
See Also:
MINAEndpoint.getIOHandler()

start

public void start()
           throws java.lang.Exception
Throws:
java.lang.Exception

stop

public void stop()
          throws java.lang.Exception
Throws:
java.lang.Exception