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

public Class UnstructuredCacheEntry

extends Object
implements CacheEntryStructure
Class Inheritance
All Implemented Interfaces
org.hibernate.cache.spi.entry.CacheEntryStructure
Imports
org.hibernate.engine.spi.SessionFactoryImplementor

Unstructured CacheEntry format (used to store entities and collections).
Authors
Gavin King, Steve Ebersole

Field Summary

Modifier and TypeField and Description
public static final UnstructuredCacheEntry
INSTANCE

Access to the singleton instance.

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public Object
destructure(Object
The structured form.
structured
,
SessionFactoryImplementor
The session factory.
factory
)

Implements org.hibernate.cache.spi.entry.CacheEntryStructure.destructure.

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

Implements org.hibernate.cache.spi.entry.CacheEntryStructure.structure.

Convert the cache item into its "structured" form.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

INSTANCEback to summary
public static final UnstructuredCacheEntry INSTANCE

Access to the singleton instance.

Constructor Detail

UnstructuredCacheEntryback to summary
private UnstructuredCacheEntry()

Method Detail

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

Implements org.hibernate.cache.spi.entry.CacheEntryStructure.destructure.

Doc from org.hibernate.cache.spi.entry.CacheEntryStructure.destructure.

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

Annotations
@Override
structureback to summary
public Object structure(Object item)

Implements org.hibernate.cache.spi.entry.CacheEntryStructure.structure.

Doc from org.hibernate.cache.spi.entry.CacheEntryStructure.structure.

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.

Annotations
@Override