protected static class AbstractProtocol.RecycledProcessors<P extends Processor<S>,S> extends ConcurrentLinkedQueue<Processor<S>>
| Modifier and Type | Field and Description |
|---|---|
protected AtomicInteger |
size |
| Constructor and Description |
|---|
AbstractProtocol.RecycledProcessors(AbstractProtocol.AbstractConnectionHandler<S,P> handler) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
boolean |
offer(Processor<S> processor) |
Processor<S> |
poll() |
add, addAll, contains, isEmpty, iterator, peek, remove, size, toArray, toArrayelement, removecontainsAll, removeAll, retainAll, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcontainsAll, equals, hashCode, removeAll, retainAllprotected AtomicInteger size
public AbstractProtocol.RecycledProcessors(AbstractProtocol.AbstractConnectionHandler<S,P> handler)
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.