public class StructuredMapCacheEntry extends Object implements CacheEntryStructure
Structured CacheEntry format for persistent Maps.
| Modifier and Type | Field and Description |
|---|---|
static StructuredMapCacheEntry |
INSTANCE
Access to the singleton reference
|
| 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.
|
public static final StructuredMapCacheEntry INSTANCE
Access to the singleton reference
public Object structure(Object item)
CacheEntryStructureConvert the cache item into its "structured" form. Perfectly valid to return the item as-is.
structure in interface CacheEntryStructureitem - The item to structure.public Object destructure(Object structured, SessionFactoryImplementor factory)
CacheEntryStructureConvert the previous structured form of the item back into its item form.
destructure in interface CacheEntryStructurestructured - The structured form.factory - The session factory.Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.