Versions Compared

Key

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

...

...

...

On This Page:

Table of Contents

Features

MC2 works with 2 two types of 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 is bound to the name which that is 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,

...