类 StructuredMapCacheEntry
- java.lang.Object
-
- org.hibernate.cache.spi.entry.StructuredMapCacheEntry
-
- 所有已实现的接口:
CacheEntryStructure
public class StructuredMapCacheEntry extends Object implements CacheEntryStructure
Structured CacheEntry format for persistent Maps.- 作者:
- Gavin King
-
-
字段概要
字段 修饰符和类型 字段 说明 static StructuredMapCacheEntryINSTANCEAccess to the singleton reference
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 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 StructuredMapCacheEntry INSTANCE
Access to the singleton reference
-
-
方法详细资料
-
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
-
-