org.apache.falcon.rerun.queue
Class DelayedQueue<T extends RerunEvent>
java.lang.Object
org.apache.falcon.rerun.queue.DelayedQueue<T>
- Type Parameters:
T
-
- Direct Known Subclasses:
- ActiveMQueue, InMemoryQueue
public abstract class DelayedQueue<T extends RerunEvent>
- extends Object
Base class for a Queue implementation.
Field Summary |
static org.apache.log4j.Logger |
LOG
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOG
public static final org.apache.log4j.Logger LOG
DelayedQueue
public DelayedQueue()
offer
public abstract boolean offer(T event)
throws FalconException
- Throws:
FalconException
take
public abstract T take()
throws FalconException
- Throws:
FalconException
populateQueue
public abstract void populateQueue(List<T> events)
init
public abstract void init()
reconnect
public abstract void reconnect()
throws FalconException
- Throws:
FalconException
Copyright © 2013-2014 Apache Software Foundation. All Rights Reserved.