C# Class CachingFramework.Redis.Providers.RedisKeyEventsProvider

Inheritance: RedisProviderBase, IKeyEventsProvider
Exibir arquivo Open project: thepirat000/CachingFramework.Redis

Public Methods

Method Description
RedisKeyEventsProvider ( CachingFramework.Redis.Providers.RedisProviderContext context ) : System
Subscribe ( KeyEvent keyEvent, KeyEvent>.Action action ) : void
Subscribe ( KeyEventSubscriptionType subscriptionType, KeyEvent>.Action action ) : void
Subscribe ( string key, KeyEvent>.Action action ) : void
Unsubscribe ( KeyEvent keyEvent ) : void
Unsubscribe ( KeyEventSubscriptionType subscriptionType ) : void
Unsubscribe ( string key ) : void

Private Methods

Method Description
GetEventChannelName ( KeyEventSubscriptionType subscriptionType, string key = null, KeyEvent eventType = null ) : string
ProcessNotification ( string channel, string value, KeyEvent>.Action action ) : void
SubscribeToRedis ( string channel, KeyEvent>.Action action ) : void
UnsubscribeFromRedis ( string channel ) : void

Method Details

RedisKeyEventsProvider() public method

public RedisKeyEventsProvider ( CachingFramework.Redis.Providers.RedisProviderContext context ) : System
context CachingFramework.Redis.Providers.RedisProviderContext
return System

Subscribe() public method

public Subscribe ( KeyEvent keyEvent, KeyEvent>.Action action ) : void
keyEvent KeyEvent
action KeyEvent>.Action
return void

Subscribe() public method

public Subscribe ( KeyEventSubscriptionType subscriptionType, KeyEvent>.Action action ) : void
subscriptionType KeyEventSubscriptionType
action KeyEvent>.Action
return void

Subscribe() public method

public Subscribe ( string key, KeyEvent>.Action action ) : void
key string
action KeyEvent>.Action
return void

Unsubscribe() public method

public Unsubscribe ( KeyEvent keyEvent ) : void
keyEvent KeyEvent
return void

Unsubscribe() public method

public Unsubscribe ( KeyEventSubscriptionType subscriptionType ) : void
subscriptionType KeyEventSubscriptionType
return void

Unsubscribe() public method

public Unsubscribe ( string key ) : void
key string
return void