/** {@inheritDoc} */ @Override public CacheDataRow createRow( GridCacheContext cctx, KeyCacheObject key, CacheObject val, GridCacheVersion ver, long expireTime, @Nullable CacheDataRow oldRow) throws IgniteCheckedException { assert ctx.database().checkpointLockIsHeldByThread(); CacheDataStore delegate = init0(false); return delegate.createRow(cctx, key, val, ver, expireTime, oldRow); }
/** {@inheritDoc} */ @Override public void call(@Nullable CacheDataRow oldRow) throws IgniteCheckedException { if (oldRow != null) { oldRow.key(entry.key); oldRow = checkRowExpired(oldRow); } this.oldRow = oldRow; if (predicate != null && !predicate.apply(oldRow)) { treeOp = IgniteTree.OperationType.NOOP; return; } if (val != null) { newRow = entry.cctx.offheap().dataStore(entry.localPartition()).createRow( entry.cctx, entry.key, val, ver, expireTime, oldRow); treeOp = oldRow != null && oldRow.link() == newRow.link() ? IgniteTree.OperationType.NOOP : IgniteTree.OperationType.PUT; } else treeOp = oldRow != null ? IgniteTree.OperationType.REMOVE : IgniteTree.OperationType.NOOP; }
newRow = entry.localPartition().dataStore().createRow( entry.cctx, entry.key,
newRow = entry.localPartition().dataStore().createRow( entry.cctx, entry.key,
newRow = entry.localPartition().dataStore().createRow( entry.cctx, entry.key,
/** {@inheritDoc} */ @Override public void call(@Nullable CacheDataRow oldRow) throws IgniteCheckedException { if (oldRow != null) { oldRow.key(entry.key); oldRow = checkRowExpired(oldRow); } this.oldRow = oldRow; if (predicate != null && !predicate.apply(oldRow)) { treeOp = IgniteTree.OperationType.NOOP; return; } if (val != null) { newRow = entry.cctx.offheap().dataStore(entry.localPartition()).createRow( entry.cctx, entry.key, val, ver, expireTime, oldRow); treeOp = oldRow != null && oldRow.link() == newRow.link() ? IgniteTree.OperationType.NOOP : IgniteTree.OperationType.PUT; } else treeOp = oldRow != null ? IgniteTree.OperationType.REMOVE : IgniteTree.OperationType.NOOP; }
/** {@inheritDoc} */ @Override public CacheDataRow createRow( GridCacheContext cctx, KeyCacheObject key, CacheObject val, GridCacheVersion ver, long expireTime, @Nullable CacheDataRow oldRow) throws IgniteCheckedException { assert ctx.database().checkpointLockIsHeldByThread(); CacheDataStore delegate = init0(false); return delegate.createRow(cctx, key, val, ver, expireTime, oldRow); }
newRow = entry.localPartition().dataStore().createRow( entry.cctx, entry.key,