public class GridHibernateGeneralDataRegion extends GridHibernateRegion implements org.hibernate.cache.spi.GeneralDataRegion
GeneralDataRegion
. This interface defines common contract for QueryResultsRegion
and TimestampsRegion
.cache, factory, ignite
Constructor and Description |
---|
GridHibernateGeneralDataRegion(GridHibernateRegionFactory factory,
String name,
Ignite ignite,
GridCache<Object,Object> cache) |
Modifier and Type | Method and Description |
---|---|
void |
evict(Object key) |
void |
evictAll() |
Object |
get(Object key) |
void |
put(Object key,
Object val) |
contains, destroy, getElementCountInMemory, getElementCountOnDisk, getName, getSizeInMemory, getTimeout, nextTimestamp, toMap
@Nullable public Object get(Object key) throws org.hibernate.cache.CacheException
get
in interface org.hibernate.cache.spi.GeneralDataRegion
org.hibernate.cache.CacheException
public void put(Object key, Object val) throws org.hibernate.cache.CacheException
put
in interface org.hibernate.cache.spi.GeneralDataRegion
org.hibernate.cache.CacheException
public void evict(Object key) throws org.hibernate.cache.CacheException
evict
in interface org.hibernate.cache.spi.GeneralDataRegion
org.hibernate.cache.CacheException
public void evictAll() throws org.hibernate.cache.CacheException
evictAll
in interface org.hibernate.cache.spi.GeneralDataRegion
org.hibernate.cache.CacheException
Follow @ApacheIgnite
Apache Ignite Fabric : ver. 1.0.0-RC1 Release Date : February 16 2015