/** {@inheritDoc} */ @Override public void updateIndex(SchemaIndexCacheFilter filter, SchemaIndexCacheVisitorClosure clo) throws IgniteCheckedException, GridCacheEntryRemovedException { lockEntry(); try { if (isInternal()) return; checkObsolete(); CacheDataRow row = cctx.offheap().read(this); if (row != null && (filter == null || filter.apply(row))) clo.apply(row); } finally { unlockEntry(); } }
@Override public boolean apply() { try { GridCacheContext cctx = node.context().cache().context().cacheContext(CU.cacheId(DEFAULT_CACHE_NAME)); KeyCacheObject key = cctx.toCacheKeyObject(1); return cctx.offheap().read(cctx, key) == null; } catch (Exception e) { fail(); return false; } } }, 5000));
assert row == null || row.key() == key : "Unexpected row key"; CacheDataRow read = row == null ? cctx.offheap().read(this) : row;
CacheDataRow cacheDataStoreRow = ctx.group().offheap().read(ctx, h2key);
CacheDataRow row = ctx.offheap().read(ctx, cacheKey);
CacheDataRow row = mvccSnapshot != null ? ctx.offheap().mvccRead(ctx, key, mvccSnapshot) : ctx.offheap().read(ctx, key);
CacheDataRow row = ctx.offheap().read(ctx, key);
CacheDataRow row = cctx.offheap().read(cctx, key0);
CacheDataRow row = mvccSnapshot != null ? ctx.offheap().mvccRead(ctx, key, mvccSnapshot) : ctx.offheap().read(ctx, key);
cctx.offheap().read(cctx, key0);
cctx.offheap().read(cctx, key0);
/** {@inheritDoc} */ @Override public void updateIndex(SchemaIndexCacheFilter filter, SchemaIndexCacheVisitorClosure clo) throws IgniteCheckedException, GridCacheEntryRemovedException { lockEntry(); try { if (isInternal()) return; checkObsolete(); CacheDataRow row = cctx.offheap().read(this); if (row != null && (filter == null || filter.apply(row))) clo.apply(row); } finally { unlockEntry(); } }
assert row == null || row.key() == key : "Unexpected row key"; CacheDataRow read = row == null ? cctx.offheap().read(this) : row;
CacheDataRow cacheDataStoreRow = ctx.group().offheap().read(ctx, h2key);
CacheDataRow row = ctx.offheap().read(ctx, cacheKey);
CacheDataRow row = mvccSnapshot != null ? ctx.offheap().mvccRead(ctx, key, mvccSnapshot) : ctx.offheap().read(ctx, key);
CacheDataRow row = ctx.offheap().read(ctx, key);
CacheDataRow row = mvccSnapshot != null ? ctx.offheap().mvccRead(ctx, key, mvccSnapshot) : ctx.offheap().read(ctx, key);
CacheDataRow row = cctx.mvccEnabled() ? cctx.offheap().mvccRead(cctx, key, mvccSnapshot()) : cctx.offheap().read(cctx, key);
CacheDataRow row = mvccSnapshot != null ? cctx.offheap().mvccRead(cctx, key, mvccSnapshot) : cctx.offheap().read(cctx, key);