Class BlockingBoundedFIFO<T>
- java.lang.Object
-
- net.timewalker.ffmq4.utils.concurrent.BlockingBoundedFIFO<T>
-
public final class BlockingBoundedFIFO<T> extends Object
BlockingBoundedFIFO Thread-safe blocking FIFO with a bounded size.
-
-
Constructor Summary
Constructors Constructor Description BlockingBoundedFIFO(int maxSize, long timeout)Constructor
-
-
-
Method Detail
-
addLast
public void addLast(T value) throws WaitTimeoutException
- Throws:
WaitTimeoutException
-
removeFirst
public T removeFirst()
-
-