public class HazelcastTimestampsRegion extends AbstractGeneralRegion implements org.hibernate.cache.TimestampsRegion
| Modifier and Type | Field and Description |
|---|---|
protected Properties |
props |
| Constructor and Description |
|---|
HazelcastTimestampsRegion(HazelcastInstance instance,
String name,
Properties props) |
| Modifier and Type | Method and Description |
|---|---|
void |
clearCache() |
boolean |
contains(Object key) |
void |
destroy() |
IMap |
getCache() |
long |
getElementCountInMemory() |
long |
getElementCountOnDisk()
Hazelcast does not support pushing elements to disk.
|
HazelcastInstance |
getInstance() |
String |
getName() |
long |
getSizeInMemory() |
int |
getTimeout() |
long |
nextTimestamp() |
Map |
toMap()
Appears to be used only by
org.hibernate.stat.SecondLevelCacheStatistics. |
evict, evictAll, get, putprotected final Properties props
public HazelcastTimestampsRegion(HazelcastInstance instance, String name, Properties props)
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.