public class LocalSharedAttributeMap extends LocalAttributeMap implements SharedAttributeMap
The mutex can be used to serialize concurrent access to the shared map's contents by multiple threads.
Constructor and Description |
---|
LocalSharedAttributeMap(SharedMap sharedMap)
Creates a new shared attribute map.
|
Modifier and Type | Method and Description |
---|---|
Object |
getMutex()
Returns the shared map's mutex, which may be synchronized on to block access to the map by other threads.
|
asMap, clear, contains, contains, equals, extract, get, get, get, get, getArray, getBoolean, getBoolean, getCollection, getCollection, getInteger, getInteger, getLong, getLong, getNumber, getNumber, getRequired, getRequired, getRequiredArray, getRequiredBoolean, getRequiredCollection, getRequiredCollection, getRequiredInteger, getRequiredLong, getRequiredNumber, getRequiredString, getString, getString, hashCode, isEmpty, put, putAll, remove, removeAll, replaceWith, size, toString, union
clear, extract, put, putAll, remove, removeAll, replaceWith
contains, contains, get, get, get, get, getArray, getBoolean, getBoolean, getCollection, getCollection, getInteger, getInteger, getLong, getLong, getNumber, getNumber, getRequired, getRequired, getRequiredArray, getRequiredBoolean, getRequiredCollection, getRequiredCollection, getRequiredInteger, getRequiredLong, getRequiredNumber, getRequiredString, getString, getString, isEmpty, size, union
asMap
public LocalSharedAttributeMap(SharedMap sharedMap)
sharedMap
- the shared mappublic Object getMutex()
SharedAttributeMap
getMutex
in interface SharedAttributeMap