Interface ReferenceMap<K,V>
- Type Parameters:
K- the key typeV- the value type
- All Superinterfaces:
ReadableReference<Map<K,V>>
Encapsulates thread-safe references to map entries.
- Author:
- Paul Ferraro
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.wildfly.clustering.server.util.ReadableReference
ReadableReference.Reader<T>, ReadableReference.ReferenceReader<T,V> -
Method Summary
Methods inherited from interface org.wildfly.clustering.server.util.ReadableReference
reader
-
Method Details
-
reference
Returns a reference to the map entry for the specified key.- Parameters:
key- a map key- Returns:
- a reference to the map entry for the specified key.
-
of
Returns a thread-safe map of the specified map.- Type Parameters:
K- the map key typeV- the map value type- Parameters:
map- a non-thread-safe map- Returns:
- a thread-safe map of the specified map.
-