Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

On This Page:

...

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 we should , specify cache name and key.

But in Redis, 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.

...