/** {@inheritDoc} */ @Override public Collection<CacheEntry<Object, Object>> getEntries( @Nullable Collection keys) throws IgniteCheckedException { return delegate.get().getEntries(transform(keys)); }
/** {@inheritDoc} */ @Override public Collection<CacheEntry<K, V>> getEntries(Set<? extends K> keys) { IgniteInternalCache<K, V> delegate = getDelegateSafe(); try { if (isAsync()) { setFuture(delegate.getEntriesAsync(keys)); return null; } else return delegate.getEntries(keys); } catch (IgniteCheckedException | IgniteException e) { throw cacheException(e); } }
/** {@inheritDoc} */ @Override public Collection<CacheEntry<K, V>> getEntries(Set<? extends K> keys) { try { if (isAsync()) { setFuture(delegate.getEntriesAsync(keys)); return null; } else return delegate.getEntries(keys); } catch (IgniteCheckedException | IgniteException e) { throw cacheException(e); } }
/** {@inheritDoc} */ @Override public Collection<CacheEntry<K, V>> getEntries( @Nullable Collection<? extends K> keys) throws IgniteCheckedException { CacheOperationContext prev = gate.enter(opCtx); try { return delegate.getEntries(keys); } finally { gate.leave(prev); } }
/** {@inheritDoc} */ @Override public Collection<CacheEntry<K, V>> getEntries( @Nullable Collection<? extends K> keys) throws IgniteCheckedException { CacheOperationContext prev = gate.enter(opCtx); try { return delegate.getEntries(keys); } finally { gate.leave(prev); } }