org.mapdb
Class Queues.Queue<E>
java.lang.Object
org.mapdb.Queues.SimpleQueue<E>
org.mapdb.Queues.Queue<E>
- Type Parameters:
E -
- All Implemented Interfaces:
- Iterable<E>, Collection<E>, BlockingQueue<E>, Queue<E>
- Enclosing class:
- Queues
public static class Queues.Queue<E>
- extends Queues.SimpleQueue<E>
First in first out lock-free queue
|
Method Summary |
boolean |
add(E e)
|
| Methods inherited from class org.mapdb.Queues.SimpleQueue |
addAll, clear, close, contains, containsAll, drainTo, drainTo, element, isEmpty, iterator, offer, offer, peek, poll, poll, put, remainingCapacity, remove, remove, removeAll, retainAll, size, take, toArray, toArray |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
tail
protected final Atomic.Long tail
Queues.Queue
public Queues.Queue(Engine engine,
Serializer<E> serializer,
long headerRecid,
long nextTailRecid,
boolean useLocks)
add
public boolean add(E e)
Copyright © 2014. All Rights Reserved.