Lines Matching defs:stateKey
20 protected $stateKey;
40 * @param string $stateKey The key to store the state under in redis.
42 public function __construct(Predis $redis, $key, $stateKey)
46 $this->stateKey = $stateKey;
146 $val = $this->redis->hget($this->stateKey, $service);
157 $this->redis->hset($this->stateKey, $service, $state);
175 return $this->redis->hexists($this->stateKey, $service);
183 $this->redis->hdel($this->stateKey, $service);
199 $keys = $this->redis->hkeys($this->stateKey);