public abstract class HibernateRegion
extends org.hibernate.cache.spi.support.AbstractRegion
implements org.hibernate.cache.spi.ExtendedStatisticsSupport
Region
. This interface defines base contract for all L2 cache regions.限定符和类型 | 字段和说明 |
---|---|
protected HibernateCacheProxy |
cache
Cache instance.
|
protected Ignite |
ignite
Grid instance.
|
限定符 | 构造器和说明 |
---|---|
protected |
HibernateRegion(org.hibernate.cache.spi.RegionFactory factory,
String name,
Ignite ignite,
HibernateCacheProxy cache) |
限定符和类型 | 方法和说明 |
---|---|
void |
clear() |
void |
destroy() |
long |
getElementCountInMemory() |
long |
getElementCountOnDisk() |
long |
getSizeInMemory() |
protected final HibernateCacheProxy cache
protected Ignite ignite
protected HibernateRegion(org.hibernate.cache.spi.RegionFactory factory, String name, Ignite ignite, HibernateCacheProxy cache)
public void clear()
clear
在接口中 org.hibernate.cache.spi.Region
public void destroy() throws org.hibernate.cache.CacheException
destroy
在接口中 org.hibernate.cache.spi.Region
org.hibernate.cache.CacheException
public long getElementCountInMemory()
getElementCountInMemory
在接口中 org.hibernate.cache.spi.ExtendedStatisticsSupport
public long getElementCountOnDisk()
getElementCountOnDisk
在接口中 org.hibernate.cache.spi.ExtendedStatisticsSupport
public long getSizeInMemory()
getSizeInMemory
在接口中 org.hibernate.cache.spi.ExtendedStatisticsSupport
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.8.0-SNAPSHOT Release Date : 四月 9 2019