public abstract class AbstractTransactionalDataRegion extends Object implements org.hibernate.cache.TransactionalDataRegion
| Modifier and Type | Field and Description |
|---|---|
protected Properties |
props |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractTransactionalDataRegion(HazelcastInstance instance,
String regionName,
Properties props,
org.hibernate.cache.CacheDataDescription metadata) |
| Modifier and Type | Method and Description |
|---|---|
void |
clearCache() |
boolean |
contains(Object key) |
void |
destroy() |
IMap |
getCache() |
org.hibernate.cache.CacheDataDescription |
getCacheDataDescription() |
long |
getElementCountInMemory() |
long |
getElementCountOnDisk()
Hazelcast does not support pushing elements to disk.
|
HazelcastInstance |
getInstance() |
String |
getName() |
long |
getSizeInMemory() |
int |
getTimeout() |
boolean |
isTransactionAware() |
long |
nextTimestamp() |
Map |
toMap()
Appears to be used only by
org.hibernate.stat.SecondLevelCacheStatistics. |
protected final Properties props
protected AbstractTransactionalDataRegion(HazelcastInstance instance, String regionName, Properties props, org.hibernate.cache.CacheDataDescription metadata)
public org.hibernate.cache.CacheDataDescription getCacheDataDescription()
getCacheDataDescription in interface org.hibernate.cache.TransactionalDataRegionTransactionalDataRegion.getCacheDataDescription()public boolean isTransactionAware()
isTransactionAware in interface org.hibernate.cache.TransactionalDataRegionTransactionalDataRegion.isTransactionAware()public final IMap getCache()
getCache in interface HazelcastRegionpublic final void clearCache()
clearCache in interface HazelcastRegionpublic void destroy()
throws org.hibernate.cache.CacheException
destroy in interface org.hibernate.cache.Regionorg.hibernate.cache.CacheExceptionpublic long getElementCountInMemory()
getElementCountInMemory in interface org.hibernate.cache.RegionIMap.public long getElementCountOnDisk()
getElementCountOnDisk in interface org.hibernate.cache.Regionpublic String getName()
getName in interface org.hibernate.cache.Regionpublic long getSizeInMemory()
getSizeInMemory in interface org.hibernate.cache.Regionpublic final int getTimeout()
getTimeout in interface org.hibernate.cache.Regionpublic final long nextTimestamp()
nextTimestamp in interface org.hibernate.cache.Regionpublic Map toMap()
org.hibernate.stat.SecondLevelCacheStatistics.toMap in interface org.hibernate.cache.RegionIMap used for this region.public boolean contains(Object key)
contains in interface org.hibernate.cache.Regionpublic final HazelcastInstance getInstance()
getInstance in interface HazelcastRegionCopyright © 2021 Hazel Bilisim Ltd.. All rights reserved.