public class StandardCacheEntryImpl extends Object implements CacheEntry
Constructor and Description |
---|
StandardCacheEntryImpl(Object[] state,
EntityPersister persister,
boolean unfetched,
Object version,
SessionImplementor session,
Object owner) |
Modifier and Type | Method and Description |
---|---|
boolean |
areLazyPropertiesUnfetched() |
Object[] |
assemble(Object instance,
Serializable id,
EntityPersister persister,
Interceptor interceptor,
EventSource session) |
Serializable[] |
getDisassembledState() |
String |
getSubclass()
Hibernate stores all entries pertaining to a given entity hierarchy in a single region.
|
Object |
getVersion()
Retrieves the version (optimistic locking) associated with this cache entry.
|
boolean |
isDeepCopyNeeded() |
boolean |
isReferenceEntry() |
String |
toString() |
public StandardCacheEntryImpl(Object[] state, EntityPersister persister, boolean unfetched, Object version, SessionImplementor session, Object owner) throws HibernateException
HibernateException
public boolean isReferenceEntry()
isReferenceEntry
in interface CacheEntry
public Serializable[] getDisassembledState()
getDisassembledState
in interface CacheEntry
public String getSubclass()
CacheEntry
getSubclass
in interface CacheEntry
public boolean areLazyPropertiesUnfetched()
areLazyPropertiesUnfetched
in interface CacheEntry
public Object getVersion()
CacheEntry
getVersion
in interface CacheEntry
public boolean isDeepCopyNeeded()
public Object[] assemble(Object instance, Serializable id, EntityPersister persister, Interceptor interceptor, EventSource session) throws HibernateException
HibernateException
Copyright © 2018 JBoss by Red Hat. All rights reserved.