- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractQueue<E>
-
- java.util.concurrent.ConcurrentLinkedQueue<P>
-
- org.apache.coyote.AbstractProtocol.RecycledProcessors<P,S>
-
-
Field Summary
Fields
| Modifier and Type |
Field and Description |
protected java.util.concurrent.atomic.AtomicInteger |
size |
-
Method Summary
Methods
| Modifier and Type |
Method and Description |
void |
clear() |
boolean |
offer(P processor) |
P |
poll() |
-
Methods inherited from class java.util.concurrent.ConcurrentLinkedQueue
add, addAll, contains, isEmpty, iterator, peek, remove, size, toArray, toArray
-
Methods inherited from class java.util.AbstractQueue
element, remove
-
Methods inherited from class java.util.AbstractCollection
containsAll, removeAll, retainAll, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Queue
element, remove
-
Methods inherited from interface java.util.Collection
containsAll, equals, hashCode, removeAll, retainAll
-
-
Method Detail
-
poll
public P poll()
- Specified by:
poll in interface java.util.Queue<P extends AbstractProcessor<S>>
- Overrides:
poll in class java.util.concurrent.ConcurrentLinkedQueue<P extends AbstractProcessor<S>>
-
clear
public void clear()
- Specified by:
clear in interface java.util.Collection<P extends AbstractProcessor<S>>
- Overrides:
clear in class java.util.AbstractQueue<P extends AbstractProcessor<S>>
Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.