org.apache.falcon.rerun.queue
Class ActiveMQueue<T extends RerunEvent>
java.lang.Object
org.apache.falcon.rerun.queue.DelayedQueue<T>
org.apache.falcon.rerun.queue.ActiveMQueue<T>
- Type Parameters:
T
-
public class ActiveMQueue<T extends RerunEvent>
- extends DelayedQueue<T>
An ActiveMQ implementation for DelayedQueue.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ActiveMQueue
public ActiveMQueue(String brokerUrl,
String destinationName)
offer
public boolean offer(T event)
throws FalconException
- Specified by:
offer
in class DelayedQueue<T extends RerunEvent>
- Throws:
FalconException
take
public T take()
throws FalconException
- Specified by:
take
in class DelayedQueue<T extends RerunEvent>
- Throws:
FalconException
populateQueue
public void populateQueue(List<T> events)
- Specified by:
populateQueue
in class DelayedQueue<T extends RerunEvent>
init
public void init()
- Specified by:
init
in class DelayedQueue<T extends RerunEvent>
reconnect
public void reconnect()
throws FalconException
- Specified by:
reconnect
in class DelayedQueue<T extends RerunEvent>
- Throws:
FalconException
Copyright © 2013-2014 Apache Software Foundation. All Rights Reserved.