private function getAdapter($lifetime = 20) { if ($lifetime) { $frontCache = new CacheData(['lifetime' => $lifetime]); } else { $frontCache = new CacheData(); } $cache = new CacheAerospike($frontCache, $this->getConfig()); return $cache; }