C# Class RedisQueue.Net.ServiceProvider.RedisMonitor

Exibir arquivo Open project: e-travel/RedisQueue.Net

Protected Properties

Property Type Description
ThreadLock object

Public Methods

Method Description
RedisMonitor ( ) : System
RedisMonitor ( string host, int port ) : System
Start ( ) : void
Stop ( ) : void

Protected Methods

Method Description
BlockSubscribe ( ) : void
DoSubscribe ( ) : void
InitializeMonitorClient ( ) : void
InitializeSubscriptionClient ( ) : void
InitializeThreads ( ) : void
InitializeWorker ( ) : void
ProcessPendingTasks ( ) : void

Processes all pending tasks that can be found in the queue.

ProcessTask ( RedisQueue.Net.Clients.Entities.TaskMessage task ) : void

Processes a single task and updates the queue accordingly.

Run ( ) : void
SubscribeToQueue ( ) : void
UnSubscribeFromQueue ( ) : void

Private Methods

Method Description
ResolvePath ( string path ) : string

Resolves the path to an assembly, at first trying the path from the current directory, then attempting to get the path from the current AppDomain's base directory.

Method Details

BlockSubscribe() protected method

protected BlockSubscribe ( ) : void
return void

DoSubscribe() protected method

protected DoSubscribe ( ) : void
return void

InitializeMonitorClient() protected method

protected InitializeMonitorClient ( ) : void
return void

InitializeSubscriptionClient() protected method

protected InitializeSubscriptionClient ( ) : void
return void

InitializeThreads() protected method

protected InitializeThreads ( ) : void
return void

InitializeWorker() protected method

protected InitializeWorker ( ) : void
return void

ProcessPendingTasks() protected method

Processes all pending tasks that can be found in the queue.
protected ProcessPendingTasks ( ) : void
return void

ProcessTask() protected method

Processes a single task and updates the queue accordingly.
protected ProcessTask ( RedisQueue.Net.Clients.Entities.TaskMessage task ) : void
task RedisQueue.Net.Clients.Entities.TaskMessage
return void

RedisMonitor() public method

public RedisMonitor ( ) : System
return System

RedisMonitor() public method

public RedisMonitor ( string host, int port ) : System
host string
port int
return System

Run() protected method

protected Run ( ) : void
return void

Start() public method

public Start ( ) : void
return void

Stop() public method

public Stop ( ) : void
return void

SubscribeToQueue() protected method

protected SubscribeToQueue ( ) : void
return void

UnSubscribeFromQueue() protected method

protected UnSubscribeFromQueue ( ) : void
return void

Property Details

ThreadLock protected_oe property

protected object ThreadLock
return object