public class J2CacheTransactionalDataRegion extends J2CacheDataRegion implements org.hibernate.cache.spi.TransactionalDataRegion
| 限定符和类型 | 字段和说明 |
|---|---|
protected org.hibernate.cache.spi.CacheDataDescription |
metadata |
| 限定符和类型 | 方法和说明 |
|---|---|
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, toMappublic org.hibernate.cfg.Settings getSettings()
public boolean isTransactionAware()
isTransactionAware 在接口中 org.hibernate.cache.spi.TransactionalDataRegionpublic org.hibernate.cache.spi.CacheDataDescription getCacheDataDescription()
getCacheDataDescription 在接口中 org.hibernate.cache.spi.TransactionalDataRegionpublic final void put(Object key, Object value) throws org.hibernate.cache.CacheException
org.hibernate.cache.CacheExceptionpublic final void remove(Object key) throws org.hibernate.cache.CacheException
org.hibernate.cache.CacheExceptionpublic final void clear()
throws org.hibernate.cache.CacheException
org.hibernate.cache.CacheExceptionpublic final void writeLock(Object key) throws org.hibernate.cache.CacheException
org.hibernate.cache.CacheExceptionpublic final void writeUnlock(Object key) throws org.hibernate.cache.CacheException
org.hibernate.cache.CacheExceptionpublic final void readLock(Object key) throws org.hibernate.cache.CacheException
org.hibernate.cache.CacheExceptionpublic final void readUnlock(Object key) throws org.hibernate.cache.CacheException
org.hibernate.cache.CacheExceptionpublic final boolean locksAreIndependentOfCache()
Copyright © 2018. All rights reserved.