Local maps can be used to share data safely in a single Vert.x instance.
The map only allows immutable keys and values in the map, OR certain mutable objects such as Buffer instances which will be copied when they are added to the map.
This ensures there is no shared access to mutable state from different threads (e.g. different event loops) in the Vert.x instance, and means you don't have to protect access to that state using synchronization or locks.
no subtypes hierarchy
|Attributes inherited from: |
Clear all entries in the map
Close and release the map
Get a value from the map
@return true if there are zero entries in the map
Put an entry in the map
Put the entry only if there is no existing entry for that key
Remove an entry from the map
Remove the entry only if there is an entry with the specified key and value
Replace the entry only if there is an existing entry with the key
Replace the entry only if there is an existing entry with the specified key and value
Get the size of the map
|Methods inherited from: |