public class EntityRegionImpl extends BaseRegion implements org.hibernate.cache.spi.EntityRegion
cache| Modifier | Constructor and Description |
|---|---|
protected |
EntityRegionImpl(CachingRegionFactory cachingRegionFactory,
String name,
org.hibernate.cache.spi.CacheDataDescription metadata,
org.hibernate.boot.spi.SessionFactoryOptions settings) |
| Modifier and Type | Method and Description |
|---|---|
org.hibernate.cache.spi.access.EntityRegionAccessStrategy |
buildAccessStrategy(org.hibernate.cache.spi.access.AccessType accessType) |
void |
evict(Object key) |
void |
evictAll() |
Object |
get(org.hibernate.engine.spi.SharedSessionContractImplementor session,
Object key) |
org.hibernate.cache.spi.CacheDataDescription |
getCacheDataDescription() |
org.hibernate.boot.spi.SessionFactoryOptions |
getSettings() |
boolean |
isTransactionAware() |
void |
put(org.hibernate.engine.spi.SharedSessionContractImplementor session,
Object key,
Object value) |
contains, destroy, getDataMap, getElementCountInMemory, getElementCountOnDisk, getName, getRegionFactory, getSizeInMemory, getTimeout, nextTimestamp, toMapclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitprotected EntityRegionImpl(CachingRegionFactory cachingRegionFactory, String name, org.hibernate.cache.spi.CacheDataDescription metadata, org.hibernate.boot.spi.SessionFactoryOptions settings)
public org.hibernate.boot.spi.SessionFactoryOptions getSettings()
public org.hibernate.cache.spi.access.EntityRegionAccessStrategy buildAccessStrategy(org.hibernate.cache.spi.access.AccessType accessType)
throws org.hibernate.cache.CacheException
buildAccessStrategy in interface org.hibernate.cache.spi.EntityRegionorg.hibernate.cache.CacheExceptionpublic org.hibernate.cache.spi.CacheDataDescription getCacheDataDescription()
getCacheDataDescription in interface org.hibernate.cache.spi.TransactionalDataRegionpublic boolean isTransactionAware()
isTransactionAware in interface org.hibernate.cache.spi.TransactionalDataRegionpublic Object get(org.hibernate.engine.spi.SharedSessionContractImplementor session, Object key) throws org.hibernate.cache.CacheException
get in interface org.hibernate.cache.spi.GeneralDataRegionorg.hibernate.cache.CacheExceptionpublic void put(org.hibernate.engine.spi.SharedSessionContractImplementor session,
Object key,
Object value)
throws org.hibernate.cache.CacheException
put in interface org.hibernate.cache.spi.GeneralDataRegionorg.hibernate.cache.CacheExceptionpublic void evict(Object key) throws org.hibernate.cache.CacheException
evict in interface org.hibernate.cache.spi.GeneralDataRegionorg.hibernate.cache.CacheExceptionpublic void evictAll()
throws org.hibernate.cache.CacheException
evictAll in interface org.hibernate.cache.spi.GeneralDataRegionorg.hibernate.cache.CacheExceptionCopyright © 2001-2018 Red Hat, Inc. All Rights Reserved.