Package org.apache.coyote
Class AbstractProtocol.RecycledProcessors
- java.lang.Object
-
- org.apache.tomcat.util.collections.SynchronizedStack<Processor>
-
- org.apache.coyote.AbstractProtocol.RecycledProcessors
-
- Enclosing class:
- AbstractProtocol<S>
protected static class AbstractProtocol.RecycledProcessors extends SynchronizedStack<Processor>
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.concurrent.atomic.AtomicInteger
size
-
Fields inherited from class org.apache.tomcat.util.collections.SynchronizedStack
DEFAULT_SIZE
-
-
Constructor Summary
Constructors Constructor Description RecycledProcessors(AbstractProtocol.ConnectionHandler<?> handler)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
Processor
pop()
boolean
push(Processor processor)
-
-
-
Constructor Detail
-
RecycledProcessors
public RecycledProcessors(AbstractProtocol.ConnectionHandler<?> handler)
-
-
Method Detail
-
push
public boolean push(Processor processor)
- Overrides:
push
in classSynchronizedStack<Processor>
-
pop
public Processor pop()
- Overrides:
pop
in classSynchronizedStack<Processor>
-
clear
public void clear()
- Overrides:
clear
in classSynchronizedStack<Processor>
-
-