public class J2CacheGeneralDataRegion extends J2CacheDataRegion implements org.hibernate.cache.spi.GeneralDataRegion
Constructor and Description |
---|
J2CacheGeneralDataRegion(J2CacheAccessStrategyFactory accessStrategyFactory,
CacheRegion underlyingCache,
Properties properties) |
Modifier and Type | Method and Description |
---|---|
void |
evict(Object key) |
void |
evictAll() |
Object |
get(org.hibernate.engine.spi.SharedSessionContractImplementor session,
Object key) |
void |
put(org.hibernate.engine.spi.SharedSessionContractImplementor session,
Object key,
Object value) |
contains, destroy, getAccessStrategyFactory, getCache, getElementCountInMemory, getElementCountOnDisk, getJ2Cache, getName, getSizeInMemory, getTimeout, nextTimestamp, toMap
public J2CacheGeneralDataRegion(J2CacheAccessStrategyFactory accessStrategyFactory, CacheRegion underlyingCache, Properties properties)
public Object get(org.hibernate.engine.spi.SharedSessionContractImplementor session, Object key) throws org.hibernate.cache.CacheException
get
in interface org.hibernate.cache.spi.GeneralDataRegion
org.hibernate.cache.CacheException
public void put(org.hibernate.engine.spi.SharedSessionContractImplementor session, Object key, Object value) throws org.hibernate.cache.CacheException
put
in interface org.hibernate.cache.spi.GeneralDataRegion
org.hibernate.cache.CacheException
public void evict(Object key) throws org.hibernate.cache.CacheException
evict
in interface org.hibernate.cache.spi.GeneralDataRegion
org.hibernate.cache.CacheException
public void evictAll() throws org.hibernate.cache.CacheException
evictAll
in interface org.hibernate.cache.spi.GeneralDataRegion
org.hibernate.cache.CacheException
Copyright © 2018. All rights reserved.