public class J2CacheTransactionalDataRegion extends J2CacheDataRegion implements org.hibernate.cache.spi.TransactionalDataRegion
Modifier and Type | Field and Description |
---|---|
protected org.hibernate.cache.spi.CacheDataDescription |
metadata |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
Object |
get(Object key) |
org.hibernate.cache.spi.CacheDataDescription |
getCacheDataDescription() |
org.hibernate.cfg.Settings |
getSettings() |
boolean |
isTransactionAware() |
boolean |
locksAreIndependentOfCache() |
void |
put(Object key,
Object value) |
void |
readLock(Object key) |
void |
readUnlock(Object key) |
void |
remove(Object key) |
void |
writeLock(Object key) |
void |
writeUnlock(Object key) |
contains, destroy, getAccessStrategyFactory, getCache, getElementCountInMemory, getElementCountOnDisk, getJ2Cache, getName, getSizeInMemory, getTimeout, nextTimestamp, toMap
public org.hibernate.cfg.Settings getSettings()
public boolean isTransactionAware()
isTransactionAware
in interface org.hibernate.cache.spi.TransactionalDataRegion
public org.hibernate.cache.spi.CacheDataDescription getCacheDataDescription()
getCacheDataDescription
in interface org.hibernate.cache.spi.TransactionalDataRegion
public final void put(Object key, Object value) throws org.hibernate.cache.CacheException
org.hibernate.cache.CacheException
public final void remove(Object key) throws org.hibernate.cache.CacheException
org.hibernate.cache.CacheException
public final void clear() throws org.hibernate.cache.CacheException
org.hibernate.cache.CacheException
public final void writeLock(Object key) throws org.hibernate.cache.CacheException
org.hibernate.cache.CacheException
public final void writeUnlock(Object key) throws org.hibernate.cache.CacheException
org.hibernate.cache.CacheException
public final void readLock(Object key) throws org.hibernate.cache.CacheException
org.hibernate.cache.CacheException
public final void readUnlock(Object key) throws org.hibernate.cache.CacheException
org.hibernate.cache.CacheException
public final boolean locksAreIndependentOfCache()
Copyright © 2018. All rights reserved.