...
...
...
...
Features of using redis cache in MC2.
MC2 works with 2 types of redis Redis distributed objects: string and map collection only.
Each cache entry in MC2 bound to separate cache and key in that cache, so to get/put value to cache we should specify cache name and key.
But in Redis each object bound to name which used as a key.
The further sections show how it works.
Map.
Redis supports plenty of objects such as object,map,set,list or even queue. So we can use java map object as a value in Redis.
...
The variables will be created automatically during getting from cache.
String.
For simple object like String we have no key in Redis,
...