Interface CacheEntryStructure
- All Known Implementing Classes:
StructuredCacheEntry, StructuredCollectionCacheEntry, StructuredMapCacheEntry, UnstructuredCacheEntry
public interface CacheEntryStructure
Strategy for how cache entries are "structured" for storing into the cache.
-
Method Summary
Modifier and TypeMethodDescriptiondestructure(Object structured, SessionFactoryImplementor factory) Convert the previous structured form of the item back into its item form.Convert the cache item into its "structured" form.
-
Method Details
-
structure
-
destructure
Convert the previous structured form of the item back into its item form.- Parameters:
structured- The structured form.factory- The session factory.- Returns:
- The item
-