Hitachi

In-Memory Data Grid Hitachi Elastic Application Data Store


2.4.1 Storing data (using put)

You use put to store data in a cache.

First, a key is associated with a value, and then the key-value pair is stored (using put). If the specified key already exists in the cache, the value is updated (using put) unconditionally.

For the key, specify a value that is unique in the cache. Data with a duplicated key can be stored if the storage cache name is different.

The following figure shows an example in which data having the same key is stored in caches 1 and 2.

Figure 2‒6: Overview of storing data (using put)

[Figure]