/** {@inheritDoc} */ @Override public IgniteInternalCache forSubjectId(UUID subjId) { return delegate.get().forSubjectId(subjId); }
/** {@inheritDoc} */ @Override public GridRestResponse call() throws Exception { IgniteInternalCache<?, ?> prj = cache(g, cacheName) .forSubjectId(clientId) .setSkipStore(cacheFlags.contains(SKIP_STORE)); if (cacheFlags.contains(KEEP_BINARIES)) prj = prj.keepBinary(); // Need to apply both operation and response transformation remotely // as cache could be inaccessible on local node and // exception processing should be consistent with local execution. return op.apply((IgniteInternalCache<Object, Object>)prj, ((IgniteKernal)g).context()). chain(resultWrapper((IgniteInternalCache<Object, Object>)prj, key)).get(); } }
/** {@inheritDoc} */ @Override public GridRestResponse call() throws Exception { final IgniteInternalCache<Object, Object> cache = cache(g, cacheName).forSubjectId(clientId); // Need to apply both operation and response transformation remotely // as cache could be inaccessible on local node and // exception processing should be consistent with local execution. return op.apply(cache, ((IgniteKernal)g).context()).chain(resultWrapper(cache, key)).get(); } }
.forSubjectId(clientId) .setSkipStore(cacheFlags.contains(SKIP_STORE));
final IgniteInternalCache<Object, Object> cache = localCache(cacheName).forSubjectId(clientId);
/** {@inheritDoc} */ @Override public GridRestResponse call() throws Exception { IgniteInternalCache<?, ?> prj = cache(g, cacheName) .forSubjectId(clientId) .setSkipStore(cacheFlags.contains(SKIP_STORE)); if (cacheFlags.contains(KEEP_BINARIES)) prj = prj.keepBinary(); // Need to apply both operation and response transformation remotely // as cache could be inaccessible on local node and // exception processing should be consistent with local execution. return op.apply((IgniteInternalCache<Object, Object>)prj, ((IgniteKernal)g).context()). chain(resultWrapper((IgniteInternalCache<Object, Object>)prj, key)).get(); } }
/** {@inheritDoc} */ @Override public GridRestResponse call() throws Exception { final IgniteInternalCache<Object, Object> cache = cache(g, cacheName).forSubjectId(clientId); // Need to apply both operation and response transformation remotely // as cache could be inaccessible on local node and // exception processing should be consistent with local execution. return op.apply(cache, ((IgniteKernal)g).context()).chain(resultWrapper(cache, key)).get(); } }
.forSubjectId(clientId) .setSkipStore(cacheFlags.contains(SKIP_STORE));
final IgniteInternalCache<Object, Object> cache = localCache(cacheName).forSubjectId(clientId);