C# Class Hangfire.Mongo.CountersAggregator

Represents Counter collection aggregator for Mongo database
Inheritance: IBackgroundProcess, IServerComponent
Afficher le fichier Open project: Trov/Hangfire.Mongo

Méthodes publiques

Méthode 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 méthode

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

Execute() public méthode

Runs aggregator
public Execute ( Hangfire.Server.BackgroundProcessContext context ) : void
context Hangfire.Server.BackgroundProcessContext Background processing context
Résultat void

Execute() public méthode

Runs aggregator
public Execute ( CancellationToken cancellationToken ) : void
cancellationToken System.Threading.CancellationToken Cancellation token
Résultat void

ToString() public méthode

Returns text representation of the object
public ToString ( ) : string
Résultat string