예제 #1
0
 protected function addToIndex($key, $expires = null)
 {
     // TODO: indexing via somekind of set: http://dustin.github.io/2011/02/17/memcached-set.html
     return parent::addToIndex($key, $expires);
 }
예제 #2
0
파일: Redis.php 프로젝트: simon-downes/spf
 protected function addToIndex($key, $expires = null)
 {
     if ($this->indexing) {
         $this->store->sAdd("{$this->prefix}::index", $key);
     }
     return parent::addToIndex($key, $expires);
 }