C# Class DotNetWorkQueue.Transport.Redis.Basic.Logging.Decorator.DelayedProcessingActionDecorator

Logs how many records where moved
Inheritance: IDelayedProcessingAction
Exibir arquivo Open project: blehnen/DotNetWorkQueue

Public Methods

Method Description
DelayedProcessingActionDecorator ( ILogFactory log, IDelayedProcessingAction handler ) : System.Threading

Initializes a new instance of the ReceiveMessageQueryDecorator class.

Run ( CancellationToken token ) : long

Runs the action

Method Details

DelayedProcessingActionDecorator() public method

Initializes a new instance of the ReceiveMessageQueryDecorator class.
public DelayedProcessingActionDecorator ( ILogFactory log, IDelayedProcessingAction handler ) : System.Threading
log ILogFactory The log.
handler IDelayedProcessingAction The handler.
return System.Threading

Run() public method

Runs the action
public Run ( CancellationToken token ) : long
token System.Threading.CancellationToken The cancel token.
return long