Exemplo n.º 1
0
 public function setUp()
 {
     parent::setUp();
     $this->hash = new Hash('hashName');
     $this->hash->setClient($this->getRedisClient());
     $this->hash->removeAll();
 }
Exemplo n.º 2
0
 public function setUp()
 {
     parent::setUp();
     $this->list = new LinkedList('listName');
     $this->list->setClient($this->getRedisClient());
     $this->list->removeAll();
 }
Exemplo n.º 3
0
 public function setUp()
 {
     parent::setUp();
     $this->set = new BloomFilter('TestBloomFilter', 100, 2);
     $this->set->setClient($this->getRedisClient());
     $this->set->reset();
 }
Exemplo n.º 4
0
 public function setUp()
 {
     parent::setUp();
     $this->map = new HashMap(rand());
     $this->map->setClient($this->getRedisClient());
     $this->map->removeAll();
 }
Exemplo n.º 5
0
 public function setUp()
 {
     parent::setUp();
     $this->set = new Set('theNameOfTheSet');
     $this->set->setClient($this->getRedisClient());
     $this->set->removeAll();
 }
Exemplo n.º 6
0
 public function tearDown()
 {
     $this->cache->destroy();
     parent::tearDown();
 }
Exemplo n.º 7
0
 public function tearDown()
 {
     parent::tearDown();
 }
Exemplo n.º 8
0
 public function setUp()
 {
     parent::setUp();
     $this->redtrine = new Redtrine($this->getRedisClient());
 }
Exemplo n.º 9
0
 public function setUp()
 {
     parent::setUp();
     $this->rateLimit = new RateLimit('TestRateLimit');
     $this->rateLimit->setClient($this->getRedisClient());
 }
Exemplo n.º 10
0
 public function setUp()
 {
     parent::setUp();
     $this->structure = new TestStructure(md5(rand()));
     $this->structure->setClient($this->getRedisClient());
 }
Exemplo n.º 11
0
 public function tearDown()
 {
     $this->keyPair->clear();
     parent::tearDown();
 }
Exemplo n.º 12
0
 public function setUp()
 {
     parent::setUp();
     $this->bit = new BitField('TestBitField');
     $this->bit->setClient($this->getRedisClient());
 }