public static class MonitoringQueuedThreadPool.MonitoringBlockingArrayQueue extends org.eclipse.jetty.util.BlockingArrayQueue<Runnable>
DEFAULT_CAPACITY, DEFAULT_GROWTHmodCount| Constructor and Description |
|---|
MonitoringQueuedThreadPool.MonitoringBlockingArrayQueue(int capacity,
int growBy) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
boolean |
offer(Runnable job) |
Runnable |
poll() |
Runnable |
poll(long time,
TimeUnit unit) |
void |
reset() |
Runnable |
take() |
add, add, drainTo, drainTo, element, get, getCapacity, getLimit, isEmpty, offer, peek, put, remainingCapacity, remove, remove, set, sizeaddAll, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, removeRange, subListaddAll, contains, containsAll, remove, removeAll, retainAll, toArray, toArray, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitcontains, removeaddAll, containsAll, equals, hashCode, iterator, removeAll, retainAll, toArray, toArraypublic MonitoringQueuedThreadPool.MonitoringBlockingArrayQueue(int capacity,
int growBy)
public void reset()
public void clear()
public boolean offer(Runnable job)
public Runnable poll()
public Runnable poll(long time, TimeUnit unit) throws InterruptedException
poll in interface BlockingQueue<Runnable>poll in class org.eclipse.jetty.util.BlockingArrayQueue<Runnable>InterruptedExceptionpublic Runnable take() throws InterruptedException
take in interface BlockingQueue<Runnable>take in class org.eclipse.jetty.util.BlockingArrayQueue<Runnable>InterruptedExceptionCopyright © 2008-2013 Dojo Foundation. All Rights Reserved.