Class EntityPersisterConcurrentMap
java.lang.Object
org.hibernate.metamodel.model.domain.internal.EntityPersisterConcurrentMap
Concurrent Map implementation of mappings entity name -> EntityPersister.
Concurrency is optimised for read operations; write operations will
acquire a lock and are relatively costly: only use for long living,
read-mostly use cases.
This implementation attempts to avoid type pollution problems.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsKey(String name) Deprecated, for removal: This API element is subject to removal in a future version.Higly inefficient - do not use; this exists to support other deprecated methods and will be removed.String[]keys()voidput(String name, EntityPersister entityPersister) voidputIfAbsent(String name, EntityPersister entityPersister) values()
-
Constructor Details
-
EntityPersisterConcurrentMap
public EntityPersisterConcurrentMap()
-
-
Method Details
-
get
-
values
-
put
-
putIfAbsent
-
containsKey
-
keys
-
convertToMap
Deprecated, for removal: This API element is subject to removal in a future version.Higly inefficient - do not use; this exists to support other deprecated methods and will be removed.
-