C# Класс DotNetWorkQueue.Queue.BaseMonitor

A base monitor class for running actions on a queue
Наследование: IMonitor
Показать файл Открыть проект

Private Properties

Свойство Тип Описание
Cancel void
CancelTokenDestroy void
Dispose void
RunMonitor void

Открытые методы

Метод Описание
Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

Start ( ) : void

Starts the monitor process.

Stop ( ) : void

Stops the monitor process.

Защищенные методы

Метод Описание
BaseMonitor ( long>.Func monitorAction, IMonitorTimespan monitorTimeSpan, ILogFactory log ) : System

Initializes a new instance of the BaseMonitor class.

ThrowIfDisposed ( [ name = "" ) : void

Throws an exception if this instance has been disposed.

Приватные методы

Метод Описание
Cancel ( ) : void

Cancels this instance.

CancelTokenDestroy ( ) : void

Destroys the cancel token

Dispose ( bool disposing ) : void
RunMonitor ( ) : void

Fires the monitor action

Описание методов

BaseMonitor() защищенный Метод

Initializes a new instance of the BaseMonitor class.
protected BaseMonitor ( long>.Func monitorAction, IMonitorTimespan monitorTimeSpan, ILogFactory log ) : System
monitorAction long>.Func The monitor action.
monitorTimeSpan IMonitorTimespan The monitor time span.
log ILogFactory The log.
Результат System

Dispose() публичный Метод

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
Результат void

Start() публичный Метод

Starts the monitor process.
public Start ( ) : void
Результат void

Stop() публичный Метод

Stops the monitor process.
public Stop ( ) : void
Результат void

ThrowIfDisposed() защищенный Метод

Throws an exception if this instance has been disposed.
protected ThrowIfDisposed ( [ name = "" ) : void
name [ The name.
Результат void