/** {@inheritDoc} */ @Override public void localLoadCache( @Nullable IgniteBiPredicate p, @Nullable Object... args ) throws IgniteCheckedException { delegate.get().localLoadCache(p, args); }
/** {@inheritDoc} */ @Override public void localLoadCache(@Nullable IgniteBiPredicate<K, V> p, @Nullable Object... args) { IgniteInternalCache<K, V> delegate = getDelegateSafe(); try { if (isAsync()) setFuture(delegate.localLoadCacheAsync(p, args)); else delegate.localLoadCache(p, args); } catch (IgniteCheckedException | IgniteException e) { throw cacheException(e); } }
/** {@inheritDoc} */ @Override public void localLoadCache(@Nullable IgniteBiPredicate<K, V> p, @Nullable Object... args) { try { if (isAsync()) setFuture(delegate.localLoadCacheAsync(p, args)); else delegate.localLoadCache(p, args); } catch (IgniteCheckedException | IgniteException e) { throw cacheException(e); } }
/** {@inheritDoc} */ @Override public void localLoadCache(IgniteBiPredicate<K, V> p, @Nullable Object[] args) throws IgniteCheckedException { CacheOperationContext prev = gate.enter(opCtx); try { delegate.localLoadCache(p, args); } finally { gate.leave(prev); } }
/** {@inheritDoc} */ @Nullable @Override public Object localExecute(@Nullable IgniteInternalCache cache) { try { assert cache != null : "Failed to get a cache [cacheName=" + cacheName + ", topVer=" + topVer + "]"; if (plc != null) cache = cache.withExpiryPolicy(plc); cache.localLoadCache(p, loadArgs); return null; } catch (IgniteCheckedException e) { throw U.convertException(e); } }
/** {@inheritDoc} */ @Override public void localLoadCache(IgniteBiPredicate<K, V> p, @Nullable Object[] args) throws IgniteCheckedException { CacheOperationContext prev = gate.enter(opCtx); try { delegate.localLoadCache(p, args); } finally { gate.leave(prev); } }
/** {@inheritDoc} */ @Nullable @Override public Object localExecute(@Nullable IgniteInternalCache cache) { try { assert cache != null : "Failed to get a cache [cacheName=" + cacheName + ", topVer=" + topVer + "]"; if (plc != null) cache = cache.withExpiryPolicy(plc); cache.localLoadCache(p, loadArgs); return null; } catch (IgniteCheckedException e) { throw U.convertException(e); } }