Ejemplo n.º 1
0
 public WeatherForecastController(
     ILogger <WeatherForecastController> logger,
     IDistributedLocker distributedLocker)
 {
     _logger            = logger;
     _distributedLocker = distributedLocker;
 }
Ejemplo n.º 2
0
 public WorkerNode(ILogger <WorkerNode> logger
                   , IRedisProvider redisProvider
                   , IDistributedLocker distributedLocker)
 {
     _redisProvider     = redisProvider;
     _distributedLocker = distributedLocker;
     _logger            = logger;
 }
Ejemplo n.º 3
0
 public RedisCahceTests(RedisCacheFixture fixture, ITestOutputHelper output)
 {
     _fixture           = fixture;
     _output            = output;
     _cache             = _fixture.Container.GetRequiredService <ICacheProvider>();
     _redisProvider     = _fixture.Container.GetRequiredService <IRedisProvider>();
     _distributedLocker = _fixture.Container.GetRequiredService <IDistributedLocker>();
 }
 public AcquireLockCommandHandler(IDistributedLocker locker,
                                  IChaosKitty chaosKitty,
                                  ITransactionExecutionsRepository repository,
                                  ILogFactory logFactory)
 {
     _locker     = locker;
     _chaosKitty = chaosKitty;
     _repository = repository;
     _log        = logFactory.CreateLog(this);
 }
 public ClientReferenceCodeValidationService(EdoContext context, IDistributedLocker locker)
 {
     _context = context;
     _locker  = locker;
 }
Ejemplo n.º 6
0
 public IdempotentFunctionExecutor(IDistributedLocker locker)
 {
     _locker = locker;
 }
 public ReleaseLockCommandHandler(IDistributedLocker locker, IChaosKitty chaosKitty)
 {
     _locker     = locker;
     _chaosKitty = chaosKitty;
 }