Iterable<Runnable>, Collection<Runnable>, BlockingQueue<Runnable>, List<Runnable>, Queue<Runnable>public static class MonitoringQueuedThreadPool.MonitoringBlockingArrayQueue extends org.eclipse.jetty.util.BlockingArrayQueue<Runnable>
modCount| Constructor | Description |
|---|---|
MonitoringBlockingArrayQueue(int capacity,
int growBy) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
clear() |
|
boolean |
offer(Runnable job) |
|
Runnable |
poll() |
|
Runnable |
poll(long time,
TimeUnit unit) |
|
void |
reset() |
|
Runnable |
take() |
addAll, contains, containsAll, isEmpty, removeAll, retainAll, toArray, toArray, toStringaddAll, equals, hashCode, indexOf, lastIndexOf, listIterator, removeRange, subListadd, add, drainTo, drainTo, element, get, getCapacity, getMaxCapacity, iterator, listIterator, offer, peek, put, remainingCapacity, remove, remove, remove, set, sizecontainsaddAll, containsAll, equals, hashCode, isEmpty, parallelStream, removeAll, removeIf, retainAll, spliterator, stream, toArray, toArraypublic 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–2017 The CometD Project. All rights reserved.