DelayQueueE Class |
Namespace: OBCOM.NetSwitchLib.Utils
The DelayQueueE type exposes the following members.
Name | Description | |
---|---|---|
DelayQueueE |
Constructs a new DelayQueue instance.
|
Name | Description | |
---|---|---|
Add |
Inserts the specified element into this delay queue.
| |
Clear |
Removes all of the elements from this queue.
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Peek |
Retrieves, but does not remove, the head of this queue, or returns
null if this queue is empty.
| |
Poll |
Retrieves and removes the head of this queue, or returns null
if this queue has no elements with an expired delay.
| |
Poll(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.
| |
Remove |
Removes a single instance of the specified element from this queue,
if it is present, whether or not it has expired.
| |
Take |
Retrieves and removes the head of this queue, waiting if necessary
until an element with an expired delay is available on this queue.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |