public class ReferenceCacheEntryImpl extends Object implements CacheEntry
Constructor and Description |
---|
ReferenceCacheEntryImpl(Object reference,
String subclass)
Constructs a ReferenceCacheEntryImpl
|
Modifier and Type | Method and Description |
---|---|
boolean |
areLazyPropertiesUnfetched()
Does the represented data contain any un-fetched attribute values?
|
Serializable[] |
getDisassembledState()
Get the underlying disassembled state
todo : this was added to support initializing an entity's EntityEntry snapshot during reattach;
this should be refactored to instead expose a method to assemble a EntityEntry based on this
state for return.
|
Object |
getReference()
Provides access to the stored reference.
|
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 |
isReferenceEntry()
Does this entry represent a direct entity reference (rather than disassembled state)?
|
public Object getReference()
public boolean isReferenceEntry()
CacheEntry
isReferenceEntry
in interface CacheEntry
public String getSubclass()
CacheEntry
getSubclass
in interface CacheEntry
public Object getVersion()
CacheEntry
getVersion
in interface CacheEntry
public boolean areLazyPropertiesUnfetched()
CacheEntry
areLazyPropertiesUnfetched
in interface CacheEntry
public Serializable[] getDisassembledState()
CacheEntry
getDisassembledState
in interface CacheEntry
Copyright © 2001-2013 Red Hat, Inc. All Rights Reserved.