org.hibernate.cache.spi.entry
Class StructuredCacheEntry

java.lang.Object
  extended by org.hibernate.cache.spi.entry.StructuredCacheEntry
All Implemented Interfaces:
CacheEntryStructure

public class StructuredCacheEntry
extends Object
implements CacheEntryStructure

Structured CacheEntry format for entities. Used to store the entry into the second-level cache as a Map so that users can more easily see the cached state.


Constructor Summary
StructuredCacheEntry(EntityPersister persister)
           
 
Method Summary
 Object destructure(Object item, SessionFactoryImplementor factory)
           
 Object structure(Object item)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StructuredCacheEntry

public StructuredCacheEntry(EntityPersister persister)
Method Detail

destructure

public Object destructure(Object item,
                          SessionFactoryImplementor factory)
Specified by:
destructure in interface CacheEntryStructure

structure

public Object structure(Object item)
Specified by:
structure in interface CacheEntryStructure


Copyright © 2001-2015 Red Hat, Inc. All Rights Reserved.