Codota Logo
IgniteInternalCache.forSubjectId
Code IndexAdd Codota to your IDE (free)

How to use
forSubjectId
method
in
org.apache.ignite.internal.processors.cache.IgniteInternalCache

Best Java code snippets using org.apache.ignite.internal.processors.cache.IgniteInternalCache.forSubjectId (Showing top 9 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
StringBuilder s =
  • Codota Iconnew StringBuilder()
  • Codota Iconnew StringBuilder(32)
  • Codota IconString str;new StringBuilder(str)
  • Smart code suggestions by Codota
}
origin: apache/ignite

/** {@inheritDoc} */
@Override public IgniteInternalCache forSubjectId(UUID subjId) {
  return delegate.get().forSubjectId(subjId);
}
origin: apache/ignite

  /** {@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();
  }
}
origin: apache/ignite

  /** {@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();
  }
}
origin: apache/ignite

.forSubjectId(clientId)
.setSkipStore(cacheFlags.contains(SKIP_STORE));
origin: apache/ignite

final IgniteInternalCache<Object, Object> cache = localCache(cacheName).forSubjectId(clientId);
origin: org.apache.ignite/ignite-core

  /** {@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();
  }
}
origin: org.apache.ignite/ignite-core

  /** {@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();
  }
}
origin: org.apache.ignite/ignite-core

.forSubjectId(clientId)
.setSkipStore(cacheFlags.contains(SKIP_STORE));
origin: org.apache.ignite/ignite-core

final IgniteInternalCache<Object, Object> cache = localCache(cacheName).forSubjectId(clientId);
org.apache.ignite.internal.processors.cacheIgniteInternalCacheforSubjectId

Javadoc

Creates projection for specified subject ID.

Popular methods of IgniteInternalCache

  • context
  • get
    Retrieves value mapped to the specified key from cache. Value will only be returned if its entry pas
  • affinity
    Gets affinity service to provide information about data partitioning and distribution.
  • configuration
    Gets configuration bean for this cache.
  • containsKey
  • getAndPut
    Stores given key-value pair in cache. If filters are provided, then entries will be stored in cache
  • getAndPutIfAbsent
    Stores given key-value pair in cache only if cache had no previous mapping for it. If cache previous
  • invoke
  • invokeAsync
  • put
    Stores given key-value pair in cache. If filters are provided, then entries will be stored in cache
  • size
  • cache
    Gets base cache for this projection.
  • size,
  • cache,
  • clear,
  • clearLocallyAll,
  • isEmpty,
  • isIgfsDataCache,
  • keySet,
  • localEntries,
  • localPeek,
  • lock

Popular in Java

  • Parsing JSON documents to java classes using gson
  • getApplicationContext (Context)
  • requestLocationUpdates (LocationManager)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • Menu (java.awt)
  • Selector (java.nio.channels)
    A controller for the selection of SelectableChannel objects. Selectable channels can be registered w
  • TimeUnit (java.util.concurrent)
    A TimeUnit represents time durations at a given unit of granularity and provides utility methods to
  • JFileChooser (javax.swing)
  • JTable (javax.swing)
  • LogFactory (org.apache.commons.logging)
    A minimal incarnation of Apache Commons Logging's LogFactory API, providing just the common Log look
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now