RedisChronosDiscoveryStrategyNotifyAsync - метод
Уведомляет Redis о состоянии плагина Chronos.
Пространство имён: Tessa.DiscoveryСборка: Tessa (в Tessa.dll) Версия: 4.0.4
public Task NotifyAsync(
IRedisConnectionProvider connectionProvider,
PluginState pluginState,
CancellationToken cancellationToken = default
)
Public Function NotifyAsync (
connectionProvider As IRedisConnectionProvider,
pluginState As PluginState,
Optional cancellationToken As CancellationToken = Nothing
) As Task
public:
virtual Task^ NotifyAsync(
IRedisConnectionProvider^ connectionProvider,
PluginState^ pluginState,
CancellationToken cancellationToken = CancellationToken()
) sealed
abstract NotifyAsync :
connectionProvider : IRedisConnectionProvider *
pluginState : PluginState *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task
override NotifyAsync :
connectionProvider : IRedisConnectionProvider *
pluginState : PluginState *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task
- connectionProvider IRedisConnectionProvider
Объект, предоставляющий доступ к соединению Redis.
- pluginState PluginState
Информация о состоянии плагина Chronos.
- cancellationToken CancellationToken (Optional)
- Объект, посредством которого можно отменить асинхронную задачу.
TaskАсинхронная задача.
IRedisChronosDiscoveryStrategyNotifyAsync(IRedisConnectionProvider, PluginState, CancellationToken)