public class LinkedBlockingQueueEx extends LinkedBlockingQueue<Runnable>
| Constructor and Description |
|---|
LinkedBlockingQueueEx(int capacity) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
force(Runnable runnable) |
boolean |
offer(Runnable runnable) |
void |
setOwner(ThreadPoolExecutorEx owner) |
clear, contains, drainTo, drainTo, iterator, offer, peek, poll, poll, put, remainingCapacity, remove, size, spliterator, take, toArray, toArray, toStringadd, addAll, element, removecontainsAll, isEmpty, removeAll, retainAllclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddaddAll, containsAll, equals, hashCode, isEmpty, parallelStream, removeAll, removeIf, retainAll, streampublic void setOwner(ThreadPoolExecutorEx owner)
public boolean offer(Runnable runnable)
offer in interface BlockingQueue<Runnable>offer in interface Queue<Runnable>offer in class LinkedBlockingQueue<Runnable>public boolean force(Runnable runnable)
Copyright © 2017–2022 The Apache Software Foundation. All rights reserved.