public function get_keys()
{
$map = array_keys($this->mem_object->read('map'));
if (!is_array($map)) {
$this->ReportError('can not read map', __LINE__);
return false;
}
$rebase = false;
foreach ($map as $i => $key) {
if (strpos($key, self::lock_key_prefix) === 0 || strpos($key, '_ttl') === 0 || strpos($key, '_info') === 0) {
$rebase = true;
unset($map[$i]);
}
}
if ($rebase) {
$map = array_unique($map);
}
return $map;
}