Top Description Methods
org.hibernate.cache.spi.entry

public Interface CacheEntryStructure

Known Direct Implementers
org.hibernate.cache.spi.entry.StructuredCacheEntry, org.hibernate.cache.spi.entry.StructuredCollectionCacheEntry, org.hibernate.cache.spi.entry.StructuredMapCacheEntry, org.hibernate.cache.spi.entry.UnstructuredCacheEntry
Imports
org.hibernate.engine.spi.SessionFactoryImplementor

Strategy for how cache entries are "structured" for storing into the cache.
Author
Gavin King

Method Summary

Modifier and TypeMethod and Description
public Object

Returns:

The item
destructure
(Object
The structured form.
structured
,
SessionFactoryImplementor
The session factory.
factory
)

Deprecated as a consequence of SessionFactoryImplementor being deprecated.
Convert the previous structured form of the item back into its item form.
public Object

Returns:

The structured form.
structure
(Object
The item to structure.
item
)

Convert the cache item into its "structured" form.

Method Detail

destructureback to summary
public Object destructure(Object structured, SessionFactoryImplementor factory)

Deprecated

as a consequence of SessionFactoryImplementor being deprecated. See corresponding docs for further information.

Convert the previous structured form of the item back into its item form.

Parameters
structured:Object

The structured form.

factory:SessionFactoryImplementor

The session factory.

Returns:Object

The item

structureback to summary
public Object structure(Object item)

Convert the cache item into its "structured" form. Perfectly valid to return the item as-is.

Parameters
item:Object

The item to structure.

Returns:Object

The structured form.