public class StructuredCollectionCacheEntry extends Object implements CacheEntryStructure
StructuredMapCacheEntry
).Modifier and Type | Field and Description |
---|---|
static StructuredCollectionCacheEntry |
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 StructuredCollectionCacheEntry INSTANCE
public Object structure(Object item)
CacheEntryStructure
structure
in interface CacheEntryStructure
item
- The item to structure.public Object destructure(Object structured, SessionFactoryImplementor factory)
CacheEntryStructure
destructure
in interface CacheEntryStructure
structured
- The structured form.factory
- The session factory.Copyright © 2001-2015 Red Hat, Inc. All Rights Reserved.