protected static class AbstractProtocol.RecycledProcessors<P extends Processor<S>,S> extends SynchronizedStack<Processor<S>>
Modifier and Type | Field and Description |
---|---|
protected java.util.concurrent.atomic.AtomicInteger |
size |
DEFAULT_SIZE
Constructor and Description |
---|
RecycledProcessors(AbstractProtocol.AbstractConnectionHandler<S,P> handler) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
Processor<S> |
pop() |
boolean |
push(Processor<S> processor) |
public RecycledProcessors(AbstractProtocol.AbstractConnectionHandler<S,P> handler)
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.