public NamingGrpcRedoService(ILogger logger, NamingGrpcClientProxy clientProxy) { this._logger = logger; this._registeredInstances = new ConcurrentDictionary <string, InstanceRedoData>(); this._subscribes = new ConcurrentDictionary <string, SubscriberRedoData>(); this._timer = new Timer( async x => await new RedoScheduledTask(_logger, clientProxy, this).Run().ConfigureAwait(false), null, TimeSpan.FromMilliseconds(DEFAULT_REDO_DELAY), TimeSpan.FromMilliseconds(DEFAULT_REDO_DELAY)); }
public RedoScheduledTask(ILogger logger, NamingGrpcClientProxy clientProxy, NamingGrpcRedoService redoService) { this._logger = logger; this._clientProxy = clientProxy; this._redoService = redoService; }
public NamingGrpcConnectionEventListener(ILogger logger, NamingGrpcClientProxy clientProxy) { this._logger = logger; this._clientProxy = clientProxy; }