public class H2RowCache extends Object
| 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)
public 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 Database and Caching Platform : ver. 2.7.2-p3 Release Date : April 25 2019