public interface SharedMap extends 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.
Object getMutex()
synchronized (sharedMap.getMutex()) { // do synchronized work }