public class EhcacheTimestampsRegion extends EhcacheDataRegion implements org.hibernate.cache.TimestampsRegion
accessStrategyFactory, cache| Constructor and Description |
|---|
EhcacheTimestampsRegion(EhcacheAccessStrategyFactory accessStrategyFactory,
Ehcache underlyingCache,
Properties properties)
Constructs an EhcacheTimestampsRegion around the given underlying cache.
|
| Modifier and Type | Method and Description |
|---|---|
void |
evict(Object key) |
void |
evictAll() |
Object |
get(Object key) |
void |
put(Object key,
Object value) |
contains, destroy, getEhcache, getElementCountInMemory, getElementCountOnDisk, getName, getSizeInMemory, getTimeout, nextTimestamp, toMappublic EhcacheTimestampsRegion(EhcacheAccessStrategyFactory accessStrategyFactory, Ehcache underlyingCache, Properties properties)
accessStrategyFactory - public Object get(Object key) throws org.hibernate.cache.CacheException
get in interface org.hibernate.cache.GeneralDataRegionorg.hibernate.cache.CacheExceptionpublic void put(Object key, Object value) throws org.hibernate.cache.CacheException
put in interface org.hibernate.cache.GeneralDataRegionorg.hibernate.cache.CacheExceptionpublic void evict(Object key) throws org.hibernate.cache.CacheException
evict in interface org.hibernate.cache.GeneralDataRegionorg.hibernate.cache.CacheExceptionpublic void evictAll()
throws org.hibernate.cache.CacheException
evictAll in interface org.hibernate.cache.GeneralDataRegionorg.hibernate.cache.CacheExceptionCopyright 2001-2021, Terracotta, Inc.