org.apache.falcon.rerun.event
Class RerunEvent
java.lang.Object
org.apache.falcon.rerun.event.RerunEvent
- All Implemented Interfaces:
- Comparable<Delayed>, Delayed
- Direct Known Subclasses:
- LaterunEvent, RetryEvent
public class RerunEvent
- extends Object
- implements Delayed
Event representing a rerun.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SEP
protected static final String SEP
- See Also:
- Constant Field Values
clusterName
protected String clusterName
wfId
protected String wfId
msgInsertTime
protected long msgInsertTime
delayInMilliSec
protected long delayInMilliSec
entityType
protected String entityType
entityName
protected String entityName
instance
protected String instance
runId
protected int runId
RerunEvent
public RerunEvent(String clusterName,
String wfId,
long msgInsertTime,
long delay,
String entityType,
String entityName,
String instance,
int runId)
getClusterName
public String getClusterName()
getWfId
public String getWfId()
getDelayInMilliSec
public long getDelayInMilliSec()
getEntityName
public String getEntityName()
getInstance
public String getInstance()
getRunId
public int getRunId()
getEntityType
public String getEntityType()
compareTo
public int compareTo(Delayed o)
- Specified by:
compareTo
in interface Comparable<Delayed>
getDelay
public long getDelay(TimeUnit unit)
- Specified by:
getDelay
in interface Delayed
getMsgInsertTime
public long getMsgInsertTime()
setMsgInsertTime
public void setMsgInsertTime(long msgInsertTime)
getType
public RerunEvent.RerunType getType()
Copyright © 2013-2014 Apache Software Foundation. All Rights Reserved.