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 |
---|---|
java.lang.Object |
getMutex()
Returns the shared map's mutex, which may be synchronized on to block access to the map by other threads.
|
protected SharedMap |
getSharedMap()
Returns the wrapped shared map.
|
asMap, clear, contains, contains, createTargetMap, createTargetMap, equals, extract, get, get, get, get, getArray, getBoolean, getBoolean, getCollection, getCollection, getInteger, getInteger, getLong, getLong, getMapInternal, getNumber, getNumber, getRequired, getRequired, getRequiredArray, getRequiredBoolean, getRequiredCollection, getRequiredCollection, getRequiredInteger, getRequiredLong, getRequiredNumber, getRequiredString, getString, getString, hashCode, initAttributes, isEmpty, put, putAll, remove, removeAll, replaceWith, size, toString, union
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
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 java.lang.Object getMutex()
SharedAttributeMap
getMutex
in interface SharedAttributeMap
protected SharedMap getSharedMap()