C# Class Redis.WebJobs.Extensions.Listeners.RedisCacheListener

Inheritance: Redis.WebJobs.Extensions.Framework.ListenerBase
Afficher le fichier Open project: JasonHaley/Redis.WebJobs.Extensions Class Usage Examples

Méthodes publiques

Méthode Description
RedisCacheListener ( string channelOrKey, ITriggeredFunctionExecutor triggerExecutor, RedisConfiguration config, Microsoft.Azure.WebJobs.Host.TraceWriter trace ) : System

Méthodes protégées

Méthode Description
OnDisposing ( ) : void
OnStarting ( ) : void
OnStopping ( ) : void
StartAsyncCore ( CancellationToken cancellationToken ) : Task
StopAsyncCore ( CancellationToken cancellationToken ) : Task

Private Methods

Méthode Description
CreateProcessor ( string channelName ) : RedisProcessor
CreateReceiver ( RedisConfiguration config, string channelOrKey, string lastValueKeyName ) : CacheReceiver
HandleTimerEvent ( ) : Task
OnTimer ( object sender, System.Timers.ElapsedEventArgs e ) : void
ProcessMessageAsync ( string previousValue, string currentValue ) : Task
ProcessMessageAsync ( string previousValue, string currentValue, CancellationToken cancellationToken ) : Task
StartTimer ( System.TimeSpan interval ) : void

Method Details

OnDisposing() protected méthode

protected OnDisposing ( ) : void
Résultat void

OnStarting() protected méthode

protected OnStarting ( ) : void
Résultat void

OnStopping() protected méthode

protected OnStopping ( ) : void
Résultat void

RedisCacheListener() public méthode

public RedisCacheListener ( string channelOrKey, ITriggeredFunctionExecutor triggerExecutor, RedisConfiguration config, Microsoft.Azure.WebJobs.Host.TraceWriter trace ) : System
channelOrKey string
triggerExecutor ITriggeredFunctionExecutor
config Redis.WebJobs.Extensions.Config.RedisConfiguration
trace Microsoft.Azure.WebJobs.Host.TraceWriter
Résultat System

StartAsyncCore() protected méthode

protected StartAsyncCore ( CancellationToken cancellationToken ) : Task
cancellationToken System.Threading.CancellationToken
Résultat Task

StopAsyncCore() protected méthode

protected StopAsyncCore ( CancellationToken cancellationToken ) : Task
cancellationToken System.Threading.CancellationToken
Résultat Task