Codota Logo
F.nodeIds
Code IndexAdd Codota to your IDE (free)

How to use
nodeIds
method
in
org.gridgain.grid.util.typedef.F

Best Java code snippets using org.gridgain.grid.util.typedef.F.nodeIds (Showing top 14 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Connection c =
  • Codota IconDataSource dataSource;dataSource.getConnection()
  • Codota IconString url;DriverManager.getConnection(url)
  • Codota IconIdentityDatabaseUtil.getDBConnection()
  • Smart code suggestions by Codota
}
origin: org.gridgain/gridgain-core

/** {@inheritDoc} */
@Override public Collection<UUID> getTopology() {
  return top != null ? top : F.nodeIds(ctx.discovery().allNodes());
}
origin: org.gridgain/gridgain-core

Collection<UUID> allIds = topVer > 0 ? F.nodeIds(CU.allNodes(cctx, topVer)) : null;
origin: org.gridgain/gridgain-core

/** {@inheritDoc} */
@Override public final GridProjection forOthers(GridNode node, GridNode... nodes) {
  A.notNull(node, "node");
  return forOthers(F.concat(false, node.id(), F.nodeIds(Arrays.asList(nodes))));
}
origin: org.gridgain/gridgain-core

/**
 * Gets neighbors for a node.
 *
 * @param node Node.
 * @return Neighbors.
 */
private Collection<UUID> neighbors(final GridNode node) {
  Collection<UUID> ns = neighbors.get(node.id());
  if (ns == null) {
    Collection<GridNode> nodes = grid.forHost(node).nodes();
    ns = F.addIfAbsent(neighbors, node.id(), new ArrayList<>(F.nodeIds(nodes)));
  }
  return ns;
}
origin: org.gridgain/gridgain-core

Collection<UUID> nodeIds = F.nodeIds(nodes(p, topVer, OWNING));
if (nodeIds.containsAll(F.nodeIds(affNodes))) {
  part.rent(false);
origin: org.gridgain/gridgain-core

rmtIds = Collections.unmodifiableSet(new HashSet<>(F.nodeIds(rmtNodes)));
origin: org.gridgain/gridgain-core

/** {@inheritDoc} */
@Override public void cancelJob(GridUuid jobId) throws GridException {
  A.notNull(jobId, "jobId");
  guard();
  try {
    boolean loc = F.nodeIds(prj.nodes()).contains(ctx.localNodeId());
    if (loc)
      ctx.job().cancelJob(null, jobId, false);
    ctx.io().send(
      prj.forRemotes().nodes(),
      TOPIC_JOB_CANCEL,
      new GridJobCancelRequest(null, jobId, false),
      SYSTEM_POOL
    );
  }
  finally {
    unguard();
  }
}
origin: org.gridgain/gridgain-core

Collection<UUID> top = nodes != null ? F.nodeIds(nodes) : null;
origin: org.gridgain/gridgain-core

log.debug("Mapped DHT lock future [dhtMap=" + F.nodeIds(dhtMap.keySet()) + ", nearMap=" +
  F.nodeIds(nearMap.keySet()) + ", dhtLockFut=" + this + ']');
origin: org.gridgain/gridgain-ggfs

log.debug("Mapped key to nodes [key=" + key + ", nodes=" + F.nodeIds(affNodes) +
", blockStart=" + blockStart + ", blockLen=" + blockLen + ']');
origin: org.gridgain/gridgain-core

log.debug("Mapped key to nodes [key=" + key + ", nodes=" + F.nodeIds(affNodes) +
", blockStart=" + blockStart + ", blockLen=" + blockLen + ']');
origin: org.gridgain/gridgain-core

", nodes=" + F.nodeIds(affNodes) + ", range=" + range +
", affNodes=" + F.nodeIds(affNodes) + ']');
origin: org.gridgain/gridgain-ggfs

", nodes=" + F.nodeIds(affNodes) + ", range=" + range +
", affNodes=" + F.nodeIds(affNodes) + ']');
origin: org.gridgain/gridgain-core

  if (!F.exist(F.nodeIds(nodes), F0.not(F.contains(leftIds)))) {
    if (log.isDebugEnabled())
      log.debug("Message will not be sent because all nodes left topology [msg=" + msg +
if (!F.exist(F.nodeIds(nodes), F0.not(F.contains(leftIds)))) {
  if (log.isDebugEnabled())
    log.debug("Message will not be sent because all nodes left topology [msg=" + msg + ", nodes=" +
org.gridgain.grid.util.typedefFnodeIds

Popular methods of F

  • eq
  • isEmpty
  • t
  • viewReadOnly
  • addIfAbsent
  • asList
  • concat
  • first
  • firstEntry
  • forEach
  • identity
  • node2id
  • identity,
  • node2id,
  • sumInt,
  • transform,
  • view,
  • alwaysFalse,
  • alwaysTrue,
  • and,
  • asArray

Popular in Java

  • Updating database using SQL prepared statement
  • runOnUiThread (Activity)
  • putExtra (Intent)
  • getExternalFilesDir (Context)
  • GridLayout (java.awt)
    The GridLayout class is a layout manager that lays out a container's components in a rectangular gri
  • Stream (java.util.stream)
    A sequence of elements supporting sequential and parallel aggregate operations. The following exampl
  • Cipher (javax.crypto)
    This class provides access to implementations of cryptographic ciphers for encryption and decryption
  • SSLHandshakeException (javax.net.ssl)
    The exception that is thrown when a handshake could not be completed successfully.
  • Servlet (javax.servlet)
    Defines methods that all servlets must implement.A servlet is a small Java program that runs within
  • BoxLayout (javax.swing)
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