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

public final class LockModeEnumMap<V> extends LazyIndexedMap<LockMode,V>
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 Details

    • LockModeEnumMap

      public LockModeEnumMap()
  • Method Details