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(org.springframework.binding.collection.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 org.springframework.binding.collection.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, unionclone, finalize, getClass, notify, notifyAll, wait, wait, waitclear, extract, put, putAll, remove, removeAll, replaceWithcontains, 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, unionpublic LocalSharedAttributeMap(org.springframework.binding.collection.SharedMap<java.lang.String,V> sharedMap)
sharedMap - the shared mappublic java.lang.Object getMutex()
SharedAttributeMapgetMutex in interface SharedAttributeMap<V>protected org.springframework.binding.collection.SharedMap<java.lang.String,V> getSharedMap()