C# Class Resque.Worker

Mostra file Open project: scobrown/Resque.NET Class Usage Examples

Public Methods

Method Description
Reserve ( ) : IJob
Work ( int interval = 5 ) : void
Worker ( IJobCreator locator, IFailureService failureService, IRedis client ) : System

Private Methods

Method Description
DoneWorking ( ) : void
GetQueueName ( string item ) : string
Process ( IJob job ) : void
RegisterWorker ( ) : void
SetFailed ( ) : void
SetProcessed ( ) : void
SetWorkingOn ( IJob job ) : void
Startup ( ) : void
UnregisterWorker ( ) : void

Method Details

Reserve() public method

public Reserve ( ) : IJob
return IJob

Work() public method

public Work ( int interval = 5 ) : void
interval int
return void

Worker() public method

public Worker ( IJobCreator locator, IFailureService failureService, IRedis client ) : System
locator IJobCreator
failureService IFailureService
client IRedis
return System