org.apache.falcon.rerun.event
Class RetryEvent

java.lang.Object
  extended by org.apache.falcon.rerun.event.RerunEvent
      extended by org.apache.falcon.rerun.event.RetryEvent
All Implemented Interfaces:
Comparable<Delayed>, Delayed

public class RetryEvent
extends RerunEvent

Event representing a retry.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.falcon.rerun.event.RerunEvent
RerunEvent.RerunType
 
Field Summary
 
Fields inherited from class org.apache.falcon.rerun.event.RerunEvent
clusterName, delayInMilliSec, entityName, entityType, instance, msgInsertTime, runId, SEP, wfId
 
Constructor Summary
RetryEvent(String clusterName, String wfId, long msgInsertTime, long delay, String entityType, String entityName, String instance, int runId, int attempts, int failRetryCount)
           
 
Method Summary
 int getAttempts()
           
 int getFailRetryCount()
           
 void setFailRetryCount(int failRetryCount)
           
 String toString()
           
 
Methods inherited from class org.apache.falcon.rerun.event.RerunEvent
compareTo, getClusterName, getDelay, getDelayInMilliSec, getEntityName, getEntityType, getInstance, getMsgInsertTime, getRunId, getType, getWfId, setMsgInsertTime
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RetryEvent

public RetryEvent(String clusterName,
                  String wfId,
                  long msgInsertTime,
                  long delay,
                  String entityType,
                  String entityName,
                  String instance,
                  int runId,
                  int attempts,
                  int failRetryCount)
Method Detail

getAttempts

public int getAttempts()

getFailRetryCount

public int getFailRetryCount()

setFailRetryCount

public void setFailRetryCount(int failRetryCount)

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2013-2014 Apache Software Foundation. All Rights Reserved.