类 UnstructuredCacheEntry
- java.lang.Object
-
- org.hibernate.cache.spi.entry.UnstructuredCacheEntry
-
- 所有已实现的接口:
CacheEntryStructure
public class UnstructuredCacheEntry extends Object implements CacheEntryStructure
Unstructured CacheEntry format (used to store entities and collections).- 作者:
- Gavin King, Steve Ebersole
-
-
字段概要
字段 修饰符和类型 字段 说明 static UnstructuredCacheEntryINSTANCEAccess to the singleton instance.
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 Objectdestructure(Object structured, SessionFactoryImplementor factory)Convert the previous structured form of the item back into its item form.Objectstructure(Object item)Convert the cache item into its "structured" form.
-
-
-
字段详细资料
-
INSTANCE
public static final UnstructuredCacheEntry INSTANCE
Access to the singleton instance.
-
-
方法详细资料
-
structure
public Object structure(Object item)
从接口复制的说明:CacheEntryStructureConvert the cache item into its "structured" form. Perfectly valid to return the item as-is.- 指定者:
structure在接口中CacheEntryStructure- 参数:
item- The item to structure.- 返回:
- The structured form.
-
destructure
public Object destructure(Object structured, SessionFactoryImplementor factory)
从接口复制的说明:CacheEntryStructureConvert the previous structured form of the item back into its item form.- 指定者:
destructure在接口中CacheEntryStructure- 参数:
structured- The structured form.factory- The session factory.- 返回:
- The item
-
-