public class NaturalIdCacheKey extends Object implements Serializable
Constructor and Description |
---|
NaturalIdCacheKey(Object[] naturalIdValues,
EntityPersister persister,
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, EntityPersister persister, SessionImplementor session)
naturalIdValues
- The naturalIdValues associated with the cached datapersister
- The persister for the entitysession
- The originating sessionpublic String getEntityName()
public String getTenantId()
public Serializable[] getNaturalIdValues()
Copyright © 2001-2013 Red Hat, Inc. All Rights Reserved.