/** * Get several infos. * * @param ids IDs. * @return Infos map. * @throws IgniteCheckedException If failed. */ private Map<IgniteUuid, IgfsEntryInfo> getInfos(Collection<IgniteUuid> ids) throws IgniteCheckedException { return id2InfoPrj.getAll(ids); }
/** * @param keys Keys. * @return Values map. */ public Map<K, V> getAll(Collection<? extends K> keys) { IgniteInternalCache<K, V> delegate = getDelegateSafe(); try { if (isAsync()) { setFuture(delegate.getAllAsync(keys)); return null; } else return delegate.getAll(keys); } catch (IgniteCheckedException | IgniteException e) { throw cacheException(e); } }
/** {@inheritDoc} */ @Override public Map<K, V> getAll(Set<? extends K> keys) { IgniteInternalCache<K, V> delegate = getDelegateSafe(); try { if (isAsync()) { setFuture(delegate.getAllAsync(keys)); return null; } else return delegate.getAll(keys); } catch (IgniteCheckedException | IgniteException e) { throw cacheException(e); } }
/** {@inheritDoc} */ @Override public Map getAll(@Nullable Collection keys) throws IgniteCheckedException { return delegate.get().getAll(transform(keys)); }
/** {@inheritDoc} */ @Override public Map<K, V> getAll(Set<? extends K> keys) { try { if (isAsync()) { setFuture(delegate.getAllAsync(keys)); return null; } else return delegate.getAll(keys); } catch (IgniteCheckedException | IgniteException e) { throw cacheException(e); } }
/** {@inheritDoc} */ @Override public Map<K, V> getAll(@Nullable Collection<? extends K> keys) throws IgniteCheckedException { CacheOperationContext prev = gate.enter(opCtx); try { return delegate.getAll(keys); } finally { gate.leave(prev); } }
/** * @param keys Keys. * @return Values map. */ public Map<K, V> getAll(Collection<? extends K> keys) { try { if (isAsync()) { setFuture(delegate.getAllAsync(keys)); return null; } else return delegate.getAll(keys); } catch (IgniteCheckedException | IgniteException e) { throw cacheException(e); } }
Map<IgfsBlockKey, byte[]> vals = dataCachePrj.getAll(F.asList(colocatedKey, key));
Map<IgfsBlockKey, byte[]> vals = dataCachePrj.getAll(F.asList(colocatedKey, key));
/** * Get several infos. * * @param ids IDs. * @return Infos map. * @throws IgniteCheckedException If failed. */ private Map<IgniteUuid, IgfsEntryInfo> getInfos(Collection<IgniteUuid> ids) throws IgniteCheckedException { return id2InfoPrj.getAll(ids); }
/** {@inheritDoc} */ @Override public Map<K, V> getAll(@Nullable Collection<? extends K> keys) throws IgniteCheckedException { CacheOperationContext prev = gate.enter(opCtx); try { return delegate.getAll(keys); } finally { gate.leave(prev); } }
Map<IgfsBlockKey, byte[]> vals = dataCachePrj.getAll(F.asList(colocatedKey, key));
Map<IgfsBlockKey, byte[]> vals = dataCachePrj.getAll(F.asList(colocatedKey, key));