public interface SharedMap
extends java.util.Map
Map
that exposes a mutex that application code can synchronize on.
Expected to be implemented by Maps that are backed by shared objects that require synchronization between multiple threads. An example would be the HTTP session map.
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getMutex()
Returns the shared mutex that may be synchronized on using a synchronized block.
|