public static interface IgniteCacheOffheapManager.CacheDataStore
int partId()
String name()
void init(long size,
long updCntr,
@Nullable
Map<Integer,Long> cacheSizes)
size - Size to init.updCntr - Update counter to init.cacheSizes - Cache sizes if store belongs to group containing multiple caches.int cacheSize(int cacheId)
cacheId - Cache ID.Map<Integer,Long> cacheSizes()
int fullSize()
long updateCounter()
void updateCounter(long val)
long nextUpdateCounter()
Long initialUpdateCounter()
CacheDataRow createRow(GridCacheContext cctx, KeyCacheObject key, CacheObject val, GridCacheVersion ver, long expireTime, @Nullable CacheDataRow oldRow) throws IgniteCheckedException
cctx - Cache context.key - Key.val - Value.ver - Version.expireTime - Expire time.oldRow - Old row.IgniteCheckedException - If failed.void update(GridCacheContext cctx, KeyCacheObject key, CacheObject val, GridCacheVersion ver, long expireTime, @Nullable CacheDataRow oldRow) throws IgniteCheckedException
cctx - Cache context.key - Key.val - Value.ver - Version.expireTime - Expire time.oldRow - Old row if available.IgniteCheckedException - If failed.void updateIndexes(GridCacheContext cctx, KeyCacheObject key) throws IgniteCheckedException
cctx - Cache context.key - Key.IgniteCheckedException - If failed.void invoke(GridCacheContext cctx, KeyCacheObject key, IgniteCacheOffheapManager.OffheapInvokeClosure c) throws IgniteCheckedException
cctx - Cache context.key - Key.c - Closure.IgniteCheckedException - If failed.void remove(GridCacheContext cctx, KeyCacheObject key, int partId) throws IgniteCheckedException
cctx - Cache context.key - Key.partId - Partition number.IgniteCheckedException - If failed.CacheDataRow find(GridCacheContext cctx, KeyCacheObject key) throws IgniteCheckedException
cctx - Cache context.key - Key.IgniteCheckedException - If failed.GridCursor<? extends CacheDataRow> cursor() throws IgniteCheckedException
IgniteCheckedException - If failed.GridCursor<? extends CacheDataRow> cursor(int cacheId) throws IgniteCheckedException
cacheId - Cache ID.IgniteCheckedException - If failed.GridCursor<? extends CacheDataRow> cursor(int cacheId, KeyCacheObject lower, KeyCacheObject upper) throws IgniteCheckedException
cacheId - Cache ID.lower - Lower bound.upper - Upper bound.IgniteCheckedException - If failed.GridCursor<? extends CacheDataRow> cursor(int cacheId, KeyCacheObject lower, KeyCacheObject upper, Object x) throws IgniteCheckedException
cacheId - Cache ID.lower - Lower bound.upper - Upper bound.x - Implementation specific argument, null always means that we need to return full detached data row.IgniteCheckedException - If failed.void destroy()
throws IgniteCheckedException
IgniteCheckedException - If failed.void clear(int cacheId)
throws IgniteCheckedException
cacheId - Cache ID.IgniteCheckedException - If failed.RowStore rowStore()
void updateInitialCounter(long cntr)
cntr - Counter.
Follow @ApacheIgnite
Ignite Fabric : ver. 2.2.0 Release Date : September 15 2017