Map Operations that Trigger Methods on a MapStore
These are the map operations that trigger methods on a configured MapStore.
If the initial-mode configuration is set to LAZY , the first time any map method
is called, it triggers the MapLoader.loadAllKeys() method.
|
Map method | Description | ||
---|---|---|---|
|
Flush all the local dirty entries by calling the |
||
|
Add entries to the map. Because |
||
|
Add an entry to the map without returning the old value. These methods call the `MapStore.store(Object,Object) method to write the value to the external system. |
||
|
Remove the mapping for a key from the map if it is present. Because |
||
|
Remove entries from the map in various conditions. These methods call the |
||
|
Update the time-to-live of an existing entry. This method calls the |
||
|
Delete all entries from the map and the corresponding items from the external system. This method calls the
|
||
|
Replace the entry for a key only if the key is currently mapped to a given value. This method calls the |
||
|
Apply the user-defined entry processors to one or more entries. These methods call the |