On This Page:
Table of Contents |
---|
Features
MC2 works with two types of Redis distributed objects: string and map collection only.
Each cache entry in MC2 is bound to a separate cache and key in that cache, so to get/put a value to cache, specify cache name and key.
In Redis however, each object is bound to the name that is used as a key.
Map
Redis supports many objects such as object, map, set, list, or queue. Therefore, you can use a Java map object as a value in Redis.
...
The variables are created automatically during getting from the cache.
String
For a simple object such as a String there is no key in Redis.
...