public static interface IgniteCacheOffheapManager.CacheDataStore
Modifier and Type | Method and Description |
---|---|
CacheDataRow |
createRow(KeyCacheObject key,
CacheObject val,
GridCacheVersion ver,
long expireTime,
CacheDataRow oldRow) |
GridCursor<? extends CacheDataRow> |
cursor() |
GridCursor<? extends CacheDataRow> |
cursor(KeyCacheObject lower,
KeyCacheObject upper) |
void |
destroy()
Destroys the tree associated with the store.
|
CacheDataRow |
find(KeyCacheObject key) |
void |
init(long size,
long updCntr) |
Long |
initialUpdateCounter() |
void |
invoke(KeyCacheObject key,
IgniteCacheOffheapManager.OffheapInvokeClosure c) |
String |
name() |
long |
nextUpdateCounter() |
int |
partId() |
void |
remove(KeyCacheObject key,
int partId) |
RowStore |
rowStore() |
int |
size() |
void |
update(KeyCacheObject key,
int part,
CacheObject val,
GridCacheVersion ver,
long expireTime,
CacheDataRow oldRow) |
long |
updateCounter() |
void |
updateCounter(long val) |
void |
updateInitialCounter(long cntr) |
int partId()
String name()
void init(long size, long updCntr)
size
- Size to init.updCntr
- Update counter to init.int size()
long updateCounter()
void updateCounter(long val)
long nextUpdateCounter()
Long initialUpdateCounter()
CacheDataRow createRow(KeyCacheObject key, CacheObject val, GridCacheVersion ver, long expireTime, @Nullable CacheDataRow oldRow) throws IgniteCheckedException
key
- Key.val
- Value.ver
- Version.expireTime
- Expire time.oldRow
- Old row.IgniteCheckedException
- If failed.void update(KeyCacheObject key, int part, CacheObject val, GridCacheVersion ver, long expireTime, @Nullable CacheDataRow oldRow) throws IgniteCheckedException
key
- Key.part
- Partition.val
- Value.ver
- Version.expireTime
- Expire time.oldRow
- Old row if available.IgniteCheckedException
- If failed.void invoke(KeyCacheObject key, IgniteCacheOffheapManager.OffheapInvokeClosure c) throws IgniteCheckedException
key
- Key.c
- Closure.IgniteCheckedException
- If failed.void remove(KeyCacheObject key, int partId) throws IgniteCheckedException
key
- Key.partId
- Partition number.IgniteCheckedException
- If failed.CacheDataRow find(KeyCacheObject key) throws IgniteCheckedException
key
- Key.IgniteCheckedException
- If failed.GridCursor<? extends CacheDataRow> cursor() throws IgniteCheckedException
IgniteCheckedException
- If failed.GridCursor<? extends CacheDataRow> cursor(KeyCacheObject lower, KeyCacheObject upper) throws IgniteCheckedException
lower
- Lower bound.upper
- Upper bound.IgniteCheckedException
- If failed.void destroy() throws IgniteCheckedException
IgniteCheckedException
- If failed.RowStore rowStore()
void updateInitialCounter(long cntr)
cntr
- Counter.
Follow @ApacheIgnite
Ignite Fabric : ver. 2.0.0 Release Date : April 30 2017