C# Class RedisQueue.Net.ServiceProvider.RedisMonitor

Afficher le fichier Open project: e-travel/RedisQueue.Net

Protected Properties

Свойство Type Description
ThreadLock object

Méthodes publiques

Méthode Description
RedisMonitor ( ) : System
RedisMonitor ( string host, int port ) : System
Start ( ) : void
Stop ( ) : void

Méthodes protégées

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

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

protected BlockSubscribe ( ) : void
Résultat void

DoSubscribe() protected méthode

protected DoSubscribe ( ) : void
Résultat void

InitializeMonitorClient() protected méthode

protected InitializeMonitorClient ( ) : void
Résultat void

InitializeSubscriptionClient() protected méthode

protected InitializeSubscriptionClient ( ) : void
Résultat void

InitializeThreads() protected méthode

protected InitializeThreads ( ) : void
Résultat void

InitializeWorker() protected méthode

protected InitializeWorker ( ) : void
Résultat void

ProcessPendingTasks() protected méthode

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

ProcessTask() protected méthode

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

RedisMonitor() public méthode

public RedisMonitor ( ) : System
Résultat System

RedisMonitor() public méthode

public RedisMonitor ( string host, int port ) : System
host string
port int
Résultat System

Run() protected méthode

protected Run ( ) : void
Résultat void

Start() public méthode

public Start ( ) : void
Résultat void

Stop() public méthode

public Stop ( ) : void
Résultat void

SubscribeToQueue() protected méthode

protected SubscribeToQueue ( ) : void
Résultat void

UnSubscribeFromQueue() protected méthode

protected UnSubscribeFromQueue ( ) : void
Résultat void

Property Details

ThreadLock protected_oe property

protected object ThreadLock
Résultat object