public static class ExecutorAdapter.UnsupportedBlockingQueue extends AbstractQueue<Runnable> implements BlockingQueue<Runnable>
| 构造器和说明 |
|---|
UnsupportedBlockingQueue() |
| 限定符和类型 | 方法和说明 |
|---|---|
int |
drainTo(Collection<? super Runnable> c) |
int |
drainTo(Collection<? super Runnable> c,
int maxElements) |
Iterator<Runnable> |
iterator() |
boolean |
offer(Runnable runnable) |
boolean |
offer(Runnable runnable,
long timeout,
TimeUnit unit) |
Runnable |
peek() |
Runnable |
poll() |
Runnable |
poll(long timeout,
TimeUnit unit) |
void |
put(Runnable runnable) |
int |
remainingCapacity() |
int |
size() |
Runnable |
take() |
contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitadd, contains, removeaddAll, clear, containsAll, equals, hashCode, isEmpty, parallelStream, removeAll, removeIf, retainAll, spliterator, stream, toArray, toArraypublic Iterator<Runnable> iterator()
iterator 在接口中 Iterable<Runnable>iterator 在接口中 Collection<Runnable>iterator 在类中 AbstractCollection<Runnable>public int size()
size 在接口中 Collection<Runnable>size 在类中 AbstractCollection<Runnable>public void put(Runnable runnable) throws InterruptedException
put 在接口中 BlockingQueue<Runnable>InterruptedExceptionpublic boolean offer(Runnable runnable, long timeout, TimeUnit unit)
offer 在接口中 BlockingQueue<Runnable>public Runnable take()
take 在接口中 BlockingQueue<Runnable>public Runnable poll(long timeout, TimeUnit unit)
poll 在接口中 BlockingQueue<Runnable>public int remainingCapacity()
remainingCapacity 在接口中 BlockingQueue<Runnable>public int drainTo(Collection<? super Runnable> c)
drainTo 在接口中 BlockingQueue<Runnable>public int drainTo(Collection<? super Runnable> c, int maxElements)
drainTo 在接口中 BlockingQueue<Runnable>public boolean offer(Runnable runnable)
Copyright © 2023. All rights reserved.