Share via


TimerWheel Members

Include Protected Members
Include Inherited Members

Provides support for managing a large number of timers represented by TimerItem instances. The timer wheel is optimized so that add/remove operations for timer items is constant time (O(1)).

The TimerWheel type exposes the following members.

Constructors

  Name Description
Public method TimerWheel() Initializes a new instance of the TimerWheel class with the default number of sectors (512) and sector span (1 second).
Public method TimerWheel(Int32, TimeSpan) Initializes a new instance of the TimerWheel class.

Top

Methods

  Name Description
Public method Dispose() Disposes the timerwheel. The timerwheel will no longer be useful.
Protected method Dispose(Boolean) Dispose timerwheel.
Public method Equals (inherited from Object)
Protected method Finalize Releases resources held by the TimerWheel object before garbage collection. (Overrides Object.Finalize().)
Public method GetHashCode (inherited from Object)
Public method GetType (inherited from Object)
Protected method MemberwiseClone (inherited from Object)
Public method ToString (inherited from Object)

Top

Fields

  Name Description
Public fieldStatic member DefaultSectorCount The number of sectors in the timer wheel. This value should be a power of 2.
Public fieldStatic member DefaultSectorSpan The span for each sector. This gives the resolution for the timer wheel.
Public fieldStatic member MaxCurrentCount Maximum possible value for the count for a timer item.
Public fieldStatic member MaxSectors Maximum possible value for number of sectors.
Public fieldStatic member MaxSpanSeconds Maximum possible value for span seconds.

Top

See Also

Reference

TimerWheel Class

Microsoft.Rtc.Signaling Namespace