C# 클래스 Redis.WebJobs.Extensions.Listeners.RedisCacheListener

상속: Redis.WebJobs.Extensions.Framework.ListenerBase
파일 보기 프로젝트 열기: JasonHaley/Redis.WebJobs.Extensions 1 사용 예제들

공개 메소드들

메소드 설명
RedisCacheListener ( string channelOrKey, ITriggeredFunctionExecutor triggerExecutor, RedisConfiguration config, Microsoft.Azure.WebJobs.Host.TraceWriter trace ) : System

보호된 메소드들

메소드 설명
OnDisposing ( ) : void
OnStarting ( ) : void
OnStopping ( ) : void
StartAsyncCore ( CancellationToken cancellationToken ) : Task
StopAsyncCore ( CancellationToken cancellationToken ) : Task

비공개 메소드들

메소드 설명
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

메소드 상세

OnDisposing() 보호된 메소드

protected OnDisposing ( ) : void
리턴 void

OnStarting() 보호된 메소드

protected OnStarting ( ) : void
리턴 void

OnStopping() 보호된 메소드

protected OnStopping ( ) : void
리턴 void

RedisCacheListener() 공개 메소드

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
리턴 System

StartAsyncCore() 보호된 메소드

protected StartAsyncCore ( CancellationToken cancellationToken ) : Task
cancellationToken System.Threading.CancellationToken
리턴 Task

StopAsyncCore() 보호된 메소드

protected StopAsyncCore ( CancellationToken cancellationToken ) : Task
cancellationToken System.Threading.CancellationToken
리턴 Task