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, toMap
public EhcacheTimestampsRegion(EhcacheAccessStrategyFactory accessStrategyFactory, Ehcache underlyingCache, Properties properties)
accessStrategyFactory
- public Object get(Object key) throws org.hibernate.cache.CacheException
get
in interface org.hibernate.cache.GeneralDataRegion
org.hibernate.cache.CacheException
public void put(Object key, Object value) throws org.hibernate.cache.CacheException
put
in interface org.hibernate.cache.GeneralDataRegion
org.hibernate.cache.CacheException
public void evict(Object key) throws org.hibernate.cache.CacheException
evict
in interface org.hibernate.cache.GeneralDataRegion
org.hibernate.cache.CacheException
public void evictAll() throws org.hibernate.cache.CacheException
evictAll
in interface org.hibernate.cache.GeneralDataRegion
org.hibernate.cache.CacheException
Copyright 2001-2021, Terracotta, Inc.