public interface CacheEntryStructure
Strategy for how cache entries are "structured" for storing into the cache.
| Modifier and Type | Method and Description |
|---|---|
Object |
destructure(Object structured,
SessionFactoryImplementor factory)
Convert the previous structured form of the item back into its item form.
|
Object |
structure(Object item)
Convert the cache item into its "structured" form.
|
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.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.Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.