public function setClient(CacheClientInterface $client)
    {
        if (is_object($client) && ($client instanceof CacheClientInterface))
            $this->client = $client;
        else {
            throw new \Exception('Invalid Cache Client Interface');
        }
    }