예제 #1
0
 /**
  * @return bool
  */
 public function close()
 {
     foreach ($this->ssIds as $id => $key) {
         $this->client->unlock($key);
     }
     $this->ssIds = [];
     return TRUE;
 }
 /**
  * @return bool
  */
 public function close()
 {
     foreach ($this->ssIds as $key => $yes) {
         $this->client->unlock($key);
     }
     $this->ssIds = array();
     return TRUE;
 }
예제 #3
0
 /**
  * @internal
  * @param string $key
  */
 public function unlock($key)
 {
     if ($this->useLocks) {
         $this->client->unlock($this->formatEntryKey($key));
     }
 }