C# Class Hangfire.Mongo.CountersAggregator

Represents Counter collection aggregator for Mongo database
Inheritance: IBackgroundProcess, IServerComponent
Mostrar archivo Open project: Trov/Hangfire.Mongo

Public Methods

Method Description
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

Method Details

CountersAggregator() public method

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

Execute() public method

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

Execute() public method

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

ToString() public method

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