org.apache.falcon.rerun.handler
Class LateRerunHandler<M extends DelayedQueue<LaterunEvent>>
java.lang.Object
org.apache.falcon.rerun.handler.AbstractRerunHandler<LaterunEvent,M>
org.apache.falcon.rerun.handler.LateRerunHandler<M>
- Type Parameters:
M
-
public class LateRerunHandler<M extends DelayedQueue<LaterunEvent>>
- extends AbstractRerunHandler<LaterunEvent,M>
An implementation of handler for late reruns.
Method Summary |
static Date |
addTime(Date date,
long milliSecondsToAdd)
|
static Configuration |
getConfiguration(String storageEndpoint)
|
static Date |
getCutOffTime(Entity entity,
String nominalTime)
|
Path |
getLateLogPath(String logDir,
String nominalTime,
String srcClusterName)
|
void |
handleRerun(String cluster,
String entityType,
String entityName,
String nominalTime,
String runId,
String wfId,
long msgReceivedTime)
|
void |
init(M aDelayQueue)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LateRerunHandler
public LateRerunHandler()
handleRerun
public void handleRerun(String cluster,
String entityType,
String entityName,
String nominalTime,
String runId,
String wfId,
long msgReceivedTime)
- Specified by:
handleRerun
in class AbstractRerunHandler<LaterunEvent,M extends DelayedQueue<LaterunEvent>>
addTime
public static Date addTime(Date date,
long milliSecondsToAdd)
getCutOffTime
public static Date getCutOffTime(Entity entity,
String nominalTime)
throws FalconException
- Throws:
FalconException
init
public void init(M aDelayQueue)
throws FalconException
- Overrides:
init
in class AbstractRerunHandler<LaterunEvent,M extends DelayedQueue<LaterunEvent>>
- Throws:
FalconException
getLateLogPath
public Path getLateLogPath(String logDir,
String nominalTime,
String srcClusterName)
getConfiguration
public static Configuration getConfiguration(String storageEndpoint)
throws FalconException
- Throws:
FalconException
Copyright © 2013-2014 Apache Software Foundation. All Rights Reserved.