![]() |
|
Contents |
Public Member Functions | |
| Runnable | poll () |
| Runnable | peek () |
| Runnable | take () throws InterruptedException |
| Runnable | poll (long timeout, TimeUnit unit) throws InterruptedException |
| boolean | add (Runnable x) |
| boolean | offer (Runnable x) |
| void | put (Runnable x) |
| boolean | offer (Runnable x, long timeout, TimeUnit unit) |
| Runnable | remove () |
| Runnable | element () |
| void | clear () |
| int | drainTo (Collection<?super Runnable > c) |
| int | drainTo (Collection<?super Runnable > c, int maxElements) |
| int | remainingCapacity () |
| boolean | remove (Object x) |
| boolean | contains (Object x) |
| int | size () |
| boolean | isEmpty () |
| Object[] | toArray () |
| Iterator< Runnable > | iterator () |
Package Functions | |
| public< T > T[] | toArray (T[] array) |
Private Attributes | |
| final DelayQueue < ScheduledFutureTask > | dq = new DelayQueue<ScheduledFutureTask>() |
| Runnable poll | ( | ) |
| Runnable peek | ( | ) |
| Runnable take | ( | ) | throws InterruptedException |
| Runnable poll | ( | long | timeout, | |
| TimeUnit | unit | |||
| ) | throws InterruptedException |
| boolean add | ( | Runnable | x | ) |
| boolean offer | ( | Runnable | x | ) |
| void put | ( | Runnable | x | ) |
| boolean offer | ( | Runnable | x, | |
| long | timeout, | |||
| TimeUnit | unit | |||
| ) |
| Runnable remove | ( | ) |
| Runnable element | ( | ) |
| void clear | ( | ) |
| int drainTo | ( | Collection<?super Runnable > | c | ) |
| int drainTo | ( | Collection<?super Runnable > | c, | |
| int | maxElements | |||
| ) |
| int remainingCapacity | ( | ) |
| boolean remove | ( | Object | x | ) |
| boolean contains | ( | Object | x | ) |
| int size | ( | ) |
| boolean isEmpty | ( | ) |
| Object [] toArray | ( | ) |
| public<T> T [] toArray | ( | T[] | array | ) | [package] |
| Iterator<Runnable> iterator | ( | ) |
final DelayQueue<ScheduledFutureTask> dq = new DelayQueue<ScheduledFutureTask>() [private] |