public final class NaturalIdCacheKey extends Object implements com.hazelcast.nio.serialization.DataSerializable
| Constructor and Description |
|---|
NaturalIdCacheKey() |
NaturalIdCacheKey(Object[] naturalIdValues,
org.hibernate.type.Type[] propertyTypes,
int[] naturalIdPropertyIndexes,
String entityName,
org.hibernate.engine.spi.SessionImplementor session)
Construct a new key for a caching natural identifier resolutions into the second level cache.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
int |
hashCode() |
void |
readData(com.hazelcast.nio.ObjectDataInput in) |
String |
toString() |
void |
writeData(com.hazelcast.nio.ObjectDataOutput out) |
public NaturalIdCacheKey()
public NaturalIdCacheKey(Object[] naturalIdValues, org.hibernate.type.Type[] propertyTypes, int[] naturalIdPropertyIndexes, String entityName, org.hibernate.engine.spi.SessionImplementor session)
naturalIdValues - The naturalIdValues associated with the cached datapropertyTypes - naturalIdPropertyIndexes - session - The originating sessionpublic void writeData(com.hazelcast.nio.ObjectDataOutput out)
throws IOException
writeData in interface com.hazelcast.nio.serialization.DataSerializableIOExceptionpublic void readData(com.hazelcast.nio.ObjectDataInput in)
throws IOException
readData in interface com.hazelcast.nio.serialization.DataSerializableIOExceptionCopyright © 2020. All rights reserved.