Package io.undertow.util
Class ConcurrentDirectDeque<E>
java.lang.Object
java.util.AbstractCollection<E>
io.undertow.util.ConcurrentDirectDeque<E>
- All Implemented Interfaces:
Serializable,Iterable<E>,Collection<E>,Deque<E>,Queue<E>
- Direct Known Subclasses:
FastConcurrentDirectDeque,PortableConcurrentDirectDeque
public abstract class ConcurrentDirectDeque<E>
extends AbstractCollection<E>
implements Deque<E>, Serializable
A concurrent deque that allows direct item removal without traversal.
- Author:
- Jason T. Greene
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <K> ConcurrentDirectDeque<K>abstract Objectabstract Objectabstract voidremoveToken(Object token) Methods inherited from class java.util.AbstractCollection
add, addAll, clear, contains, containsAll, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
clear, containsAll, equals, hashCode, isEmpty, parallelStream, removeAll, removeIf, retainAll, spliterator, stream, toArray, toArray, toArrayMethods inherited from interface java.util.Deque
add, addAll, addFirst, addLast, contains, descendingIterator, element, getFirst, getLast, iterator, offer, offerFirst, offerLast, peek, peekFirst, peekLast, poll, pollFirst, pollLast, pop, push, remove, remove, removeFirst, removeFirstOccurrence, removeLast, removeLastOccurrence, size
-
Constructor Details
-
ConcurrentDirectDeque
public ConcurrentDirectDeque()
-
-
Method Details
-
newInstance
-
offerFirstAndReturnToken
-
offerLastAndReturnToken
-
removeToken
-