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, toString
addAll, equals, hashCode, indexOf, lastIndexOf, listIterator, removeRange, subList
add, add, drainTo, drainTo, element, get, getCapacity, getMaxCapacity, iterator, listIterator, offer, peek, put, remainingCapacity, remove, remove, remove, set, size
contains
addAll, containsAll, equals, hashCode, isEmpty, parallelStream, removeAll, removeIf, retainAll, spliterator, stream, 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–2017 The CometD Project. All rights reserved.