/** {@inheritDoc} */ @Override public boolean isClosed() { GridCacheContext<K, V> ctx = getContextSafe(); return ctx.kernalContext().cache().context().closed(ctx); }
/** * Leave a cache call entered by {@link #enterNoLock} method. */ public void leaveNoLock() { ctx.tm().resetContext(); ctx.mvcc().contextReset(); // Unwind eviction notifications. if (!ctx.shared().closed(ctx)) CU.unwindEvicts(ctx); }
GridCacheContext cctx = cache.context(); if (!cctx.userCache() || !cctx.group().mvccEnabled() || F.isEmpty(cctx.group().caches()) || cctx.shared().closed(cctx)) continue;
/** {@inheritDoc} */ @Override public boolean isClosed() { return ctx.kernalContext().cache().context().closed(ctx); }
/** * Leave a cache call entered by {@link #enterNoLock} method. */ public void leaveNoLock() { ctx.tm().resetContext(); ctx.mvcc().contextReset(); // Unwind eviction notifications. if (!ctx.shared().closed(ctx)) CU.unwindEvicts(ctx); }