DelayedWorkQueue

Specialized delay queue. To mesh with TPE declarations, this class must be declared as a BlockingQueue!(Runnable) even though it can only hold RunnableScheduledFutures.

Constructors

this
this()
Undocumented in source.

Members

Functions

add
bool add(Runnable e)
Undocumented in source. Be warned that the author may not have intended to support it.
clear
void clear()
Undocumented in source. Be warned that the author may not have intended to support it.
contains
bool contains(Runnable x)
Undocumented in source. Be warned that the author may not have intended to support it.
drainTo
int drainTo(Collection!(Runnable) c)
Undocumented in source. Be warned that the author may not have intended to support it.
drainTo
int drainTo(Collection!(Runnable) c, int maxElements)
Undocumented in source. Be warned that the author may not have intended to support it.
isEmpty
bool isEmpty()
Undocumented in source. Be warned that the author may not have intended to support it.
offer
bool offer(Runnable x)
Undocumented in source. Be warned that the author may not have intended to support it.
offer
bool offer(Runnable e, Duration timeout)
Undocumented in source. Be warned that the author may not have intended to support it.
opApply
int opApply(int delegate(ref Runnable) dg)
Undocumented in source. Be warned that the author may not have intended to support it.
opEquals
bool opEquals(IObject o)

Snapshot iterator that works off copy of underlying q array.

opEquals
bool opEquals(Object o)
Undocumented in source. Be warned that the author may not have intended to support it.
peek
IRunnableScheduledFuture peek()
Undocumented in source. Be warned that the author may not have intended to support it.
poll
IRunnableScheduledFuture poll()
Undocumented in source. Be warned that the author may not have intended to support it.
poll
IRunnableScheduledFuture poll(Duration timeout)
Undocumented in source. Be warned that the author may not have intended to support it.
put
void put(Runnable e)
Undocumented in source. Be warned that the author may not have intended to support it.
remainingCapacity
int remainingCapacity()
Undocumented in source. Be warned that the author may not have intended to support it.
remove
bool remove(Runnable x)
Undocumented in source. Be warned that the author may not have intended to support it.
size
int size()
Undocumented in source. Be warned that the author may not have intended to support it.
take
IRunnableScheduledFuture take()
Undocumented in source. Be warned that the author may not have intended to support it.
toArray
Runnable[] toArray()
Undocumented in source. Be warned that the author may not have intended to support it.
toHash
size_t toHash()
Undocumented in source. Be warned that the author may not have intended to support it.
toString
string toString()
Undocumented in source. Be warned that the author may not have intended to support it.

Meta