public DistributedSupportWithRedis(IRedisClient redisClient, IOptions <RedisOption> redisOption)
 {
     _redisClient      = redisClient;
     _redisOption      = redisOption.Value;
     _currentWorkIndex = "current.work.index";
     _inUse            = "in.use";
 }
Exemplo n.º 2
0
 public RedisClient(IOptions <RedisOption> options)
 {
     _options  = options.Value;
     _instance = _options.InstanceName;
 }