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.Modifier and Type | Field and Description |
---|---|
protected HibernateCacheProxy |
cache
Cache instance.
|
protected Ignite |
ignite
Grid instance.
|
Modifier | Constructor and Description |
---|---|
protected |
HibernateRegion(org.hibernate.cache.spi.RegionFactory factory,
String name,
Ignite ignite,
HibernateCacheProxy cache) |
Modifier and Type | Method and Description |
---|---|
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
in interface org.hibernate.cache.spi.Region
public void destroy() throws org.hibernate.cache.CacheException
destroy
in interface org.hibernate.cache.spi.Region
org.hibernate.cache.CacheException
public long getElementCountInMemory()
getElementCountInMemory
in interface org.hibernate.cache.spi.ExtendedStatisticsSupport
public long getElementCountOnDisk()
getElementCountOnDisk
in interface org.hibernate.cache.spi.ExtendedStatisticsSupport
public long getSizeInMemory()
getSizeInMemory
in interface org.hibernate.cache.spi.ExtendedStatisticsSupport
GridGain In-Memory Computing Platform : ver. 8.9.14 Release Date : November 5 2024