Class RedisCache. Implements cache engine over redis.
Removes stored in cache value under given key
Returns value stored in cache by a given key
Stores in cache given value under given key. If TTL is specified, cached value will expire in a given number of milliseconds. If NX argument set to true will create key:value in cache only if it does not exists yet. Given value could be any JSON-compatible object and will be serialized automatically.
Safely destroys redis connection