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.Regionpublic void destroy()
throws org.hibernate.cache.CacheException
destroy in interface org.hibernate.cache.spi.Regionorg.hibernate.cache.CacheExceptionpublic long getElementCountInMemory()
getElementCountInMemory in interface org.hibernate.cache.spi.ExtendedStatisticsSupportpublic long getElementCountOnDisk()
getElementCountOnDisk in interface org.hibernate.cache.spi.ExtendedStatisticsSupportpublic long getSizeInMemory()
getSizeInMemory in interface org.hibernate.cache.spi.ExtendedStatisticsSupport
GridGain In-Memory Computing Platform : ver. 8.9.26 Release Date : October 16 2025