public final class CacheKeyImpl extends Object implements com.hazelcast.nio.serialization.DataSerializable
| Constructor and Description |
|---|
CacheKeyImpl() |
CacheKeyImpl(Object id,
org.hibernate.type.Type type,
String entityOrRoleName,
String tenantId,
org.hibernate.engine.spi.SessionFactoryImplementor factory)
Construct a new key for a collection or entity instance.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
int |
hashCode() |
void |
readData(com.hazelcast.nio.ObjectDataInput in) |
String |
toString() |
void |
writeData(com.hazelcast.nio.ObjectDataOutput out) |
public CacheKeyImpl()
public CacheKeyImpl(Object id, org.hibernate.type.Type type, String entityOrRoleName, String tenantId, org.hibernate.engine.spi.SessionFactoryImplementor factory)
id - The identifier associated with the cached datatype - The Hibernate type mappingentityOrRoleName - The entity or collection-role name.tenantId - The tenant identifier associated this data.public 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.