public function read($key, &$ttl_left = -1);
public function semaphore_exists() { $sem = $this->mem->read($this->key_semaphore); if (empty($sem)) { return false; } return true; }