public static class MonitoringQueuedThreadPool.MonitoringBlockingArrayQueue
extends org.eclipse.jetty.util.BlockingArrayQueue<java.lang.Runnable>
Constructor | Description |
---|---|
MonitoringBlockingArrayQueue(int capacity,
int growBy) |
Modifier and Type | Method | Description |
---|---|---|
void |
clear() |
|
boolean |
offer(java.lang.Runnable job) |
|
java.lang.Runnable |
poll() |
|
java.lang.Runnable |
poll(long time,
java.util.concurrent.TimeUnit unit) |
|
void |
reset() |
|
java.lang.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
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()
clear
in class org.eclipse.jetty.util.BlockingArrayQueue<java.lang.Runnable>
public boolean offer(java.lang.Runnable job)
offer
in class org.eclipse.jetty.util.BlockingArrayQueue<java.lang.Runnable>
public java.lang.Runnable poll()
poll
in class org.eclipse.jetty.util.BlockingArrayQueue<java.lang.Runnable>
public java.lang.Runnable poll(long time, java.util.concurrent.TimeUnit unit) throws java.lang.InterruptedException
poll
in class org.eclipse.jetty.util.BlockingArrayQueue<java.lang.Runnable>
java.lang.InterruptedException
public java.lang.Runnable take() throws java.lang.InterruptedException
take
in class org.eclipse.jetty.util.BlockingArrayQueue<java.lang.Runnable>
java.lang.InterruptedException
Copyright © 2008–2017 The CometD Project. All rights reserved.