public class H2RowCache extends Object implements GridQueryRowCacheCleaner
| Constructor and Description |
|---|
H2RowCache(CacheGroupContext grpCtx,
int maxSize) |
| Modifier and Type | Method and Description |
|---|---|
GridH2KeyValueRowOnheap |
get(long link)
Get row by link.
|
void |
onCacheRegistered()
Cache registration callback.
|
boolean |
onCacheUnregistered(GridCacheContext cctx)
Cache un-registration callback.
|
void |
put(GridH2KeyValueRowOnheap row)
Put row by link.
|
void |
remove(long link) |
int |
size() |
public H2RowCache(CacheGroupContext grpCtx, int maxSize)
grpCtx - Cache group context.public GridH2KeyValueRowOnheap get(long link) throws IgniteCheckedException
link - Link.IgniteCheckedException - On error.public void put(GridH2KeyValueRowOnheap row)
row - Row.public void remove(long link)
remove in interface GridQueryRowCacheCleanerpublic void onCacheRegistered()
public boolean onCacheUnregistered(GridCacheContext cctx)
cctx - Cache context.True if there are no more usages for the given cache group.public int size()
Follow @ApacheIgnite
Ignite Fabric : ver. 2.6.0 Release Date : July 10 2018