protected static class AbstractProtocol.RecycledProcessors extends SynchronizedStack<Processor>
Modifier and Type | Field and Description |
---|---|
protected AtomicInteger |
size |
DEFAULT_SIZE
Constructor and Description |
---|
RecycledProcessors(AbstractProtocol.ConnectionHandler<?> handler) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
Processor |
pop() |
boolean |
push(Processor processor) |
protected final AtomicInteger size
public RecycledProcessors(AbstractProtocol.ConnectionHandler<?> handler)
public boolean push(Processor processor)
push
in class SynchronizedStack<Processor>
public Processor pop()
pop
in class SynchronizedStack<Processor>
public void clear()
clear
in class SynchronizedStack<Processor>
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.