public class LocalSharedAttributeMap<V> extends LocalAttributeMap<V> implements SharedAttributeMap<V>
The mutex can be used to serialize concurrent access to the shared map's contents by multiple threads.
Constructor and Description |
---|
LocalSharedAttributeMap(SharedMap<java.lang.String,V> 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<java.lang.String,V> |
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 java.lang.Object getMutex()
SharedAttributeMap
getMutex
in interface SharedAttributeMap<V>