C# 클래스 Hangfire.Mongo.CountersAggregator

Represents Counter collection aggregator for Mongo database
상속: IBackgroundProcess, IServerComponent
파일 보기 프로젝트 열기: Trov/Hangfire.Mongo

공개 메소드들

메소드 설명
CountersAggregator ( MongoStorage storage, System.TimeSpan interval ) : System

Constructs Counter collection aggregator

Execute ( Hangfire.Server.BackgroundProcessContext context ) : void

Runs aggregator

Execute ( CancellationToken cancellationToken ) : void

Runs aggregator

ToString ( ) : string

Returns text representation of the object

메소드 상세

CountersAggregator() 공개 메소드

Constructs Counter collection aggregator
public CountersAggregator ( MongoStorage storage, System.TimeSpan interval ) : System
storage MongoStorage MongoDB storage
interval System.TimeSpan Checking interval
리턴 System

Execute() 공개 메소드

Runs aggregator
public Execute ( Hangfire.Server.BackgroundProcessContext context ) : void
context Hangfire.Server.BackgroundProcessContext Background processing context
리턴 void

Execute() 공개 메소드

Runs aggregator
public Execute ( CancellationToken cancellationToken ) : void
cancellationToken System.Threading.CancellationToken Cancellation token
리턴 void

ToString() 공개 메소드

Returns text representation of the object
public ToString ( ) : string
리턴 string