org.apache.coyote
Class AbstractProtocol.RecycledProcessors<P extends Processor<S>,S>
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractQueue<E>
java.util.concurrent.ConcurrentLinkedQueue<Processor<S>>
org.apache.coyote.AbstractProtocol.RecycledProcessors<P,S>
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Iterable<Processor<S>>, java.util.Collection<Processor<S>>, java.util.Queue<Processor<S>>
- Enclosing class:
- AbstractProtocol
protected static class AbstractProtocol.RecycledProcessors<P extends Processor<S>,S>
- extends java.util.concurrent.ConcurrentLinkedQueue<Processor<S>>
- See Also:
- Serialized Form
Field Summary |
protected java.util.concurrent.atomic.AtomicInteger |
size
|
Methods inherited from class java.util.concurrent.ConcurrentLinkedQueue |
add, contains, isEmpty, iterator, peek, remove, size, toArray, toArray |
Methods inherited from class java.util.AbstractQueue |
addAll, 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 |
addAll, containsAll, equals, hashCode, removeAll, retainAll |
size
protected java.util.concurrent.atomic.AtomicInteger size
AbstractProtocol.RecycledProcessors
public AbstractProtocol.RecycledProcessors(AbstractProtocol.AbstractConnectionHandler<S,P> handler)
offer
public boolean offer(Processor<S> processor)
- Specified by:
offer
in interface java.util.Queue<Processor<S>>
- Overrides:
offer
in class java.util.concurrent.ConcurrentLinkedQueue<Processor<S>>
poll
public Processor<S> poll()
- Specified by:
poll
in interface java.util.Queue<Processor<S>>
- Overrides:
poll
in class java.util.concurrent.ConcurrentLinkedQueue<Processor<S>>
clear
public void clear()
- Specified by:
clear
in interface java.util.Collection<Processor<S>>
- Overrides:
clear
in class java.util.AbstractQueue<Processor<S>>
Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.