接口 CacheEntryStructure
-
- 所有已知实现类:
StructuredCacheEntry,StructuredCollectionCacheEntry,StructuredMapCacheEntry,UnstructuredCacheEntry
public interface CacheEntryStructureStrategy for how cache entries are "structured" for storing into the cache.- 作者:
- Gavin King
-
-
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 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.
-
-
-
方法详细资料
-
structure
Object structure(Object item)
Convert the cache item into its "structured" form. Perfectly valid to return the item as-is.- 参数:
item- The item to structure.- 返回:
- The structured form.
-
destructure
Object destructure(Object structured, SessionFactoryImplementor factory)
Convert the previous structured form of the item back into its item form.- 参数:
structured- The structured form.factory- The session factory.- 返回:
- The item
-
-