Click or drag to resize

DelayQueueE Methods

The DelayQueueE generic type exposes the following members.

Methods
  NameDescription
Public methodAdd
Inserts the specified element into this delay queue.
Public methodClear
Removes all of the elements from this queue.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodPeek
Retrieves, but does not remove, the head of this queue, or returns null if this queue is empty.
Public methodPoll
Retrieves and removes the head of this queue, or returns null if this queue has no elements with an expired delay.
Public methodPoll(Int64)
Retrieves and removes the head of this queue, waiting if necessary until an element with an expired delay is available on this queue, or the specified wait time expires.
Public methodRemove
Removes a single instance of the specified element from this queue, if it is present, whether or not it has expired.
Public methodTake
Retrieves and removes the head of this queue, waiting if necessary until an element with an expired delay is available on this queue.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also