Package org.multiverse.api.collections
Interface TxnQueue<E>
-
- Type Parameters:
E
-
- All Superinterfaces:
java.util.Collection<E>
,java.lang.Iterable<E>
,java.util.Queue<E>
,TxnCollection<E>
,TxnIterable<E>
- All Known Subinterfaces:
TxnDeque<E>
- All Known Implementing Classes:
NaiveTxnLinkedList
public interface TxnQueue<E> extends TxnCollection<E>, java.util.Queue<E>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description E
element(Txn txn)
int
getCapacity()
boolean
offer(Txn tx, E item)
E
peek(Txn txn)
E
poll(Txn txn)
void
put(E item)
void
put(Txn txn, E item)
E
remove(Txn txn)
E
take()
E
take(Txn txn)
-
Methods inherited from interface java.util.Collection
addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, parallelStream, remove, removeAll, removeIf, retainAll, size, spliterator, stream, toArray, toArray, toArray
-
Methods inherited from interface org.multiverse.api.collections.TxnCollection
add, addAll, addAll, addAll, clear, contains, containsAll, getStm, isEmpty, remove, size, toString
-
Methods inherited from interface org.multiverse.api.collections.TxnIterable
iterator, iterator
-
-