Class LockModeEnumMap<V>
java.lang.Object
org.hibernate.internal.util.collections.LazyIndexedMap<LockMode,V>
org.hibernate.internal.util.collections.LockModeEnumMap<V>
- Type Parameters:
V
- the value type to be associated with each key
A concurrent safe EnumMap<LockMode>, suitable to
lazily associate values to the enum keys.
This implementation favours fast read operations
and low memory consumption over other metrics.
Specifically designed with specific use cases in mind:
do not overly reuse without good reasons.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.hibernate.internal.util.collections.LazyIndexedMap
computeIfAbsent
-
Constructor Details
-
LockModeEnumMap
public LockModeEnumMap()
-
-
Method Details
-
computeIfAbsent
-