Click or drag to resize

DelayQueueEPoll Method (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.

Namespace:  OBCOM.NetSwitchLib.Utils
Assembly:  OBCOM.NetSwitchLib (in OBCOM.NetSwitchLib.dll) Version: 1.48.7760.35650 (1.48.7760.35650)
Syntax
public E Poll(
	long timeout
)

Parameters

timeout
Type: SystemInt64
The maximum time to wait for an element with an expired delay.

Return Value

Type: E
The head of this queue or null if the specified waiting time elapses before an element with an expired delay becomes available.
See Also