Cache
- implementation type of RegionCachepublic class HazelcastTimestampsRegion<Cache extends RegionCache> extends Object
Modifier and Type | Field and Description |
---|---|
protected Properties |
props |
Constructor and Description |
---|
HazelcastTimestampsRegion(HazelcastInstance instance,
String name,
Properties props,
Cache cache) |
Modifier and Type | Method and Description |
---|---|
boolean |
contains(Object key) |
void |
destroy() |
void |
evict(Object key) |
void |
evictAll() |
Object |
get(Object key) |
Cache |
getCache() |
long |
getElementCountInMemory() |
long |
getElementCountOnDisk()
Hazelcast does not support pushing elements to disk.
|
HazelcastInstance |
getInstance() |
ILogger |
getLogger() |
String |
getName() |
long |
getSizeInMemory() |
int |
getTimeout() |
long |
nextTimestamp() |
void |
put(Object key,
Object value) |
Map |
toMap()
Appears to be used only by
org.hibernate.stat.SecondLevelCacheStatistics . |
protected final Properties props
public HazelcastTimestampsRegion(HazelcastInstance instance, String name, Properties props, Cache cache)
public void evict(Object key) throws org.hibernate.cache.CacheException
org.hibernate.cache.CacheException
public void evictAll() throws org.hibernate.cache.CacheException
org.hibernate.cache.CacheException
public Object get(Object key) throws org.hibernate.cache.CacheException
org.hibernate.cache.CacheException
public void put(Object key, Object value) throws org.hibernate.cache.CacheException
org.hibernate.cache.CacheException
public Cache getCache()
public void destroy() throws org.hibernate.cache.CacheException
org.hibernate.cache.CacheException
public long getElementCountInMemory()
IMap
.public long getElementCountOnDisk()
public String getName()
public long getSizeInMemory()
public final int getTimeout()
public final long nextTimestamp()
public Map toMap()
org.hibernate.stat.SecondLevelCacheStatistics
.IMap
used for this region.public boolean contains(Object key)
public final HazelcastInstance getInstance()
getInstance
in interface HazelcastRegion<Cache extends RegionCache>
public final ILogger getLogger()
getLogger
in interface HazelcastRegion<Cache extends RegionCache>
Copyright © 2014 Hazelcast, Inc.. All Rights Reserved.