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