org.infinispan.atomic
Interface AtomicMap<K,V>
- All Superinterfaces:
- Map<K,V>
- All Known Implementing Classes:
- AtomicHashMap, AtomicHashMapProxy
public interface AtomicMap<K,V>
- extends Map<K,V>
This is a special type of Map geared for use in Infinispan. This map type supports Infinispan atomicizing writes
on the cache such that a coarse grained locking is used if this map is stored in the cache, such that the entire map
is locked for writes or is isolated for safe concurrent read.
This is, for all practical purposes, a marker interface that indicates that Maps of this type will be locked
atomically in the cache and replicated in a fine grained manner.
- Since:
- 4.0
- Author:
- Manik Surtani (manik AT jboss DOT org)
- See Also:
DeltaAware
,
AtomicHashMap
Nested classes/interfaces inherited from interface java.util.Map |
Map.Entry<K,V> |
Methods inherited from interface java.util.Map |
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values |
Copyright © 2010 JBoss, a division of Red Hat. All Rights Reserved.