/** {@inheritDoc} */ @Override public IgniteInternalFuture<?> localLoadCacheAsync( @Nullable IgniteBiPredicate p, @Nullable Object... args ) { return delegate.get().localLoadCacheAsync(p, args); }
/** {@inheritDoc} */ @Override public IgniteFuture<Void> localLoadCacheAsync(@Nullable IgniteBiPredicate<K, V> p, @Nullable Object... args) throws CacheException { IgniteInternalCache<K, V> delegate = getDelegateSafe(); return (IgniteFuture<Void>)createFuture(delegate.localLoadCacheAsync(p, args)); }
/** {@inheritDoc} */ @Override public IgniteInternalFuture<?> localLoadCacheAsync(IgniteBiPredicate<K, V> p, @Nullable Object[] args) { CacheOperationContext prev = gate.enter(opCtx); try { return delegate.localLoadCacheAsync(p, args); } finally { gate.leave(prev); } }
/** {@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 IgniteFuture<Void> localLoadCacheAsync(@Nullable IgniteBiPredicate<K, V> p, @Nullable Object... args) throws CacheException { return (IgniteFuture<Void>)createFuture(delegate.localLoadCacheAsync(p, args)); }
/** {@inheritDoc} */ @Override public IgniteInternalFuture<?> localLoadCacheAsync(IgniteBiPredicate<K, V> p, @Nullable Object[] args) { CacheOperationContext prev = gate.enter(opCtx); try { return delegate.localLoadCacheAsync(p, args); } finally { gate.leave(prev); } }
/** {@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); } }