Interface CacheEntry
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
ReferenceCacheEntryImpl, StandardCacheEntryImpl
A cached instance of a persistent class
-
Method Summary
Modifier and TypeMethodDescriptionGet 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 an EntityEntry based on this state for return.Hibernate stores all entries pertaining to a given entity hierarchy in a single region.Retrieves the version (optimistic locking) associated with this cache entry.booleanDoes this entry represent a direct entity reference (rather than disassembled state)?
-
Method Details
-
isReferenceEntry
boolean isReferenceEntry()Does this entry represent a direct entity reference (rather than disassembled state)?- Returns:
- true/false
-
getSubclass
-
getVersion
-
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 an EntityEntry based on this state for return.- Returns:
- The disassembled state
-