- Direct Known Subclasses:
- GIOPConnection.ConnectionReset
public class TimerQueueAction
extends SelectorRequest
Defines a single thread with a queue enabling notification of timer
expiration. The priniciple is to have a time ordered list of notification
objects. The thread waits until the next closest expiration time in the
queue. The thread is interrupted whenever a new entry is queued. Whenever
awaken, either by interruption or expiration, the thread notifies all
expired waiters, removing them from the queue. The timer queue entries
consist of an absolute expiry time, and an action object typically the
action will be to wake another thread, but it could do something more
specialized. The specialized action should not be blocking or it may
adversely affect the performance of the timer queue.
- Author:
- Phil Mesnier <mesnier_p@ociweb.com>