Ejemplo n.º 1
0
 public RedisChannelListener(RedisConfiguration configuration, IRedisAttribute attribute, ITriggeredFunctionExecutor triggerExecutor)
 {
     _configuration   = configuration;
     _attribute       = attribute;
     _triggerExecutor = triggerExecutor;
     _redisProcessor  = CreateProcessor(_attribute.ChannelOrKey);
 }
 public RedisCacheListener(RedisConfiguration configuration, IRedisAttribute attribute, ITriggeredFunctionExecutor triggerExecutor)
 {
     _configuration    = configuration;
     _attribute        = attribute;
     _triggerExecutor  = triggerExecutor;
     _redisProcessor   = CreateProcessor(_attribute.ChannelOrKey);
     _lastValueKeyName = _configuration.LastValueKeyNamePrefix + _attribute.ChannelOrKey;
 }
        public RedisChannelListener(string channelOrKey, ITriggeredFunctionExecutor triggerExecutor, RedisConfiguration config, TraceWriter trace)
            : base()
        {
            _channelOrKey = channelOrKey;
            _triggerExecutor = triggerExecutor;
            _config = config;

            _redisProcessor = CreateProcessor(channelOrKey);
            _trace = trace;
        }
        public RedisChannelListener(string channelOrKey, ITriggeredFunctionExecutor triggerExecutor, RedisConfiguration config, TraceWriter trace)
            : base()
        {
            _channelOrKey    = channelOrKey;
            _triggerExecutor = triggerExecutor;
            _config          = config;

            _redisProcessor = CreateProcessor(channelOrKey);
            _trace          = trace;
        }
 public RedisCacheListener(string channelOrKey, ITriggeredFunctionExecutor triggerExecutor,
     RedisConfiguration config, TraceWriter trace)
     : base()
 {
     _channelOrKey = channelOrKey;
     _triggerExecutor = triggerExecutor;
     _config = config;
     _lastValueKeyName = _config.LastValueKeyNamePrefix + channelOrKey;
     _redisProcessor = CreateProcessor(channelOrKey);
     _trace = trace;
 }
 public RedisCacheListener(string channelOrKey, ITriggeredFunctionExecutor triggerExecutor,
                           RedisConfiguration config, TraceWriter trace)
     : base()
 {
     _channelOrKey     = channelOrKey;
     _triggerExecutor  = triggerExecutor;
     _config           = config;
     _lastValueKeyName = _config.LastValueKeyNamePrefix + channelOrKey;
     _redisProcessor   = CreateProcessor(channelOrKey);
     _trace            = trace;
 }