public static class MonitoringQueuedThreadPool.MonitoringBlockingArrayQueue extends org.eclipse.jetty.util.BlockingArrayQueue<Runnable>
DEFAULT_CAPACITY, DEFAULT_GROWTH
modCount
Constructor and Description |
---|
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, getMaxCapacity, iterator, listIterator, offer, peek, put, remainingCapacity, remove, remove, remove, set, size
addAll, equals, hashCode, indexOf, lastIndexOf, listIterator, removeRange, subList
addAll, contains, containsAll, isEmpty, removeAll, retainAll, toArray, toArray, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
contains
addAll, containsAll, equals, hashCode, isEmpty, parallelStream, removeAll, removeIf, retainAll, spliterator, stream, toArray, toArray
addAll, contains, containsAll, isEmpty, removeAll, replaceAll, retainAll, sort, spliterator, toArray, toArray
public 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>
InterruptedException
public Runnable take() throws InterruptedException
take
in interface BlockingQueue<Runnable>
take
in class org.eclipse.jetty.util.BlockingArrayQueue<Runnable>
InterruptedException
Copyright © 2008–2024 The CometD Project. All rights reserved.