Package org.hibernate.cache.internal
Class BasicCacheKeyImplementation
java.lang.Object
org.hibernate.cache.internal.BasicCacheKeyImplementation
- All Implemented Interfaces:
Serializable
Key produced by DefaultCacheKeysFactory; this is the specialized implementation
for the case in which the disassembled identifier is not an array and the tenantId
is not being defined.
The goal of this specialized representation is to be more efficient for this most common
scenario, and save memory by omitting some fields.
When making changes to this class, please be aware of its memory footprint.
- Since:
- 6.2
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionBasicCacheKeyImplementation
(Serializable id, String entityOrRoleName, int hashCode) Being an internal contract the arguments are not being checked.BasicCacheKeyImplementation
(Object originalId, Serializable disassembledKey, Type type, String entityOrRoleName) Being an internal contract the arguments are not being checked. -
Method Summary
-
Constructor Details
-
BasicCacheKeyImplementation
@Internal public BasicCacheKeyImplementation(Object originalId, Serializable disassembledKey, Type type, String entityOrRoleName) Being an internal contract the arguments are not being checked. -
BasicCacheKeyImplementation
@Internal public BasicCacheKeyImplementation(Serializable id, String entityOrRoleName, int hashCode) Being an internal contract the arguments are not being checked.
-
-
Method Details