public function getMulti(array $keys, array &$tokens = null)
{
try {
$results = $this->client->get($keys);
} catch (\CouchbaseException $e) {
return array();
}
$tokens = array();
foreach ($results as $key => $value) {
if ($value->error) {
unset($results[$key]);
continue;
}
$results[$key] = $this->unserialize($value->value);
$tokens[$key] = $value->cas;
}
return $results;
}