public class JCacheTransactionalDataRegion extends JCacheRegion implements org.hibernate.cache.spi.TransactionalDataRegion
cache| Constructor and Description |
|---|
JCacheTransactionalDataRegion(javax.cache.Cache<Object,Object> cache,
org.hibernate.cache.spi.CacheDataDescription metadata,
org.hibernate.boot.spi.SessionFactoryOptions options) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
Object |
get(Object key) |
org.hibernate.cache.spi.CacheDataDescription |
getCacheDataDescription() |
org.hibernate.boot.spi.SessionFactoryOptions |
getSessionFactoryOptions() |
boolean |
isTransactionAware() |
void |
put(Object key,
Object value) |
boolean |
putIfAbsent(Object key,
Object value) |
void |
remove(Object key) |
boolean |
replace(Object key,
Object expected,
Object value) |
protected Set<org.hibernate.cache.spi.access.AccessType> |
supportedAccessTypes() |
protected void |
throwIfAccessTypeUnsupported(org.hibernate.cache.spi.access.AccessType accessType) |
contains, destroy, getElementCountInMemory, getElementCountOnDisk, getName, getSizeInMemory, getTimeout, nextTimestamp, toMappublic boolean isTransactionAware()
isTransactionAware in interface org.hibernate.cache.spi.TransactionalDataRegionpublic org.hibernate.cache.spi.CacheDataDescription getCacheDataDescription()
getCacheDataDescription in interface org.hibernate.cache.spi.TransactionalDataRegionprotected void throwIfAccessTypeUnsupported(org.hibernate.cache.spi.access.AccessType accessType)
protected Set<org.hibernate.cache.spi.access.AccessType> supportedAccessTypes()
public void clear()
public void remove(Object key)
public org.hibernate.boot.spi.SessionFactoryOptions getSessionFactoryOptions()
Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.