예제 #1
0
 /**
  * Proxy function for decrementing a key's value in the data source
  *
  * @param $clusterName
  * @param $key
  */
 public function decrementKey($clusterName, $key)
 {
     $cluster = $this->getCluster($clusterName);
     $client = $this->processNodes($this->getClient(), $cluster->getNodes());
     $client->decrementKey(Hash::decode($key));
 }
예제 #2
0
 public function testDecode()
 {
     $this->assertEquals('is it still snowing?', Hash::decode('F1rLAG_caKql7vEQl-gj1g82_AIyxuAQt1rOX4-K7nQ='));
 }