Click or drag to resize

ITimerQueue Interface

Interface for a timer queue. Users of this queue can add items, update the due time of already enqueued items, or remove items. The actions that are triggered when the due time is reached are run asynchronously in a thread pool task.

Namespace: Altaxo.Main.Services
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public interface ITimerQueue

The ITimerQueue type exposes the following members.

Properties
 NameDescription
Public propertyCurrentTime Gets the current time of the underlying high resolution clock. This is a relative value, e.g. relative to the start time of the clock.
Top
Methods
 NameDescription
Public methodAddOrUpdate Adds (if not already present) or updates (if already present) the item identified by the provided token.
Public methodContains Determines whether the queue contains an item identified by the provided token.
Public methodTryAdd Tries to adds the item identified by the provided token.
Public methodTryRemove(Object) Tries to remove an item from the queue.
Public methodTryRemove(Object, TimeSpan) Tries to remove an item from the queue.
Public methodTryUpdateTime Tries to update the time value of an already enqueued item.
Top
See Also