public class NaturalIdCacheKey extends Object implements Serializable
| Constructor and Description | 
|---|
| NaturalIdCacheKey(Object[] naturalIdValues,
                 Type[] propertyTypes,
                 int[] naturalIdPropertyIndexes,
                 String entityName,
                 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) | 
| String | getEntityName() | 
| Serializable[] | getNaturalIdValues() | 
| String | getTenantId() | 
| int | hashCode() | 
| String | toString() | 
public NaturalIdCacheKey(Object[] naturalIdValues, Type[] propertyTypes, int[] naturalIdPropertyIndexes, String entityName, SessionImplementor session)
naturalIdValues - The naturalIdValues associated with the cached datapropertyTypes - naturalIdPropertyIndexes - session - The originating sessionpublic String getEntityName()
public String getTenantId()
public Serializable[] getNaturalIdValues()
Copyright © 2017 JBoss by Red Hat. All rights reserved.