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

public Class StructuredCollectionCacheEntry

extends Object
implements CacheEntryStructure
Class Inheritance
All Implemented Interfaces
org.hibernate.cache.spi.entry.CacheEntryStructure
Imports
java.io.Serializable, java.util.Arrays, .List, org.hibernate.engine.spi.SessionFactoryImplementor

Structured CacheEntry format for persistent collections (other than Maps, see StructuredMapCacheEntry).
Author
Gavin King

Field Summary

Modifier and TypeField and Description
public static final StructuredCollectionCacheEntry
INSTANCE

Access to the singleton reference.

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 StructuredCollectionCacheEntry INSTANCE

Access to the singleton reference.

Constructor Detail

StructuredCollectionCacheEntryback to summary
private StructuredCollectionCacheEntry()

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