public class H2RowCache extends Object implements GridQueryRowCacheCleaner
| Constructor and Description |
|---|
H2RowCache(CacheGroupContext grpCtx,
int maxSize) |
| Modifier and Type | Method and Description |
|---|---|
H2CacheRow |
get(long link)
Get row by link.
|
void |
onCacheRegistered()
Cache registration callback.
|
boolean |
onCacheUnregistered(GridCacheContextInfo cacheInfo)
Cache un-registration callback.
|
void |
put(H2CacheRow row)
Put row by link.
|
void |
remove(long link) |
int |
size() |
public H2RowCache(CacheGroupContext grpCtx, int maxSize)
grpCtx - Cache group context.public H2CacheRow get(long link) throws IgniteCheckedException
link - Link.IgniteCheckedException - On error.public void put(H2CacheRow row)
row - Row.public void remove(long link)
remove in interface GridQueryRowCacheCleanerpublic void onCacheRegistered()
public boolean onCacheUnregistered(GridCacheContextInfo cacheInfo)
cacheInfo - Cache context info.True if there are no more usages for the given cache group.public int size()
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 8.9.23-p1 Release Date : November 19 2025