org.apache.falcon.rerun.handler
Class RetryConsumer<T extends RetryHandler<DelayedQueue<RetryEvent>>>

java.lang.Object
  extended by org.apache.falcon.rerun.handler.AbstractRerunConsumer<RetryEvent,T>
      extended by org.apache.falcon.rerun.handler.RetryConsumer<T>
Type Parameters:
T -
All Implemented Interfaces:
Runnable

public class RetryConsumer<T extends RetryHandler<DelayedQueue<RetryEvent>>>
extends AbstractRerunConsumer<RetryEvent,T>

A consumer of retry events which reruns the workflow in the workflow engine.


Field Summary
 
Fields inherited from class org.apache.falcon.rerun.handler.AbstractRerunConsumer
handler, LOG
 
Constructor Summary
RetryConsumer(T handler)
           
 
Method Summary
protected  void handleRerun(String cluster, String jobStatus, RetryEvent message)
           
 
Methods inherited from class org.apache.falcon.rerun.handler.AbstractRerunConsumer
run
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RetryConsumer

public RetryConsumer(T handler)
Method Detail

handleRerun

protected void handleRerun(String cluster,
                           String jobStatus,
                           RetryEvent message)
Specified by:
handleRerun in class AbstractRerunConsumer<RetryEvent,T extends RetryHandler<DelayedQueue<RetryEvent>>>


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