Tabnine Logo
DiscoveryNodes$Builder.validateAdd
Code IndexAdd Tabnine to your IDE (free)

How to use
validateAdd
method
in
org.elasticsearch.cluster.node.DiscoveryNodes$Builder

Best Java code snippets using org.elasticsearch.cluster.node.DiscoveryNodes$Builder.validateAdd (Showing top 4 results out of 315)

origin: org.elasticsearch/elasticsearch

/**
 * adds a disco node to the builder. Will throw an {@link IllegalArgumentException} if
 * the supplied node doesn't pass the pre-flight checks performed by {@link #validateAdd(DiscoveryNode)}
 */
public Builder add(DiscoveryNode node) {
  final String preflight = validateAdd(node);
  if (preflight != null) {
    throw new IllegalArgumentException(preflight);
  }
  putUnsafe(node);
  return this;
}
origin: com.strapdata.elasticsearch/elasticsearch

/**
 * adds a disco node to the builder. Will throw an {@link IllegalArgumentException} if
 * the supplied node doesn't pass the pre-flight checks performed by {@link #validateAdd(DiscoveryNode)}
 */
public Builder add(DiscoveryNode node) {
  final String preflight = validateAdd(node);
  if (preflight != null) {
    throw new IllegalArgumentException(preflight);
  }
  putUnsafe(node);
  return this;
}
origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.elasticsearch

/**
 * adds a disco node to the builder. Will throw an {@link IllegalArgumentException} if
 * the supplied node doesn't pass the pre-flight checks performed by {@link #validateAdd(DiscoveryNode)}
 */
public Builder add(DiscoveryNode node) {
  final String preflight = validateAdd(node);
  if (preflight != null) {
    throw new IllegalArgumentException(preflight);
  }
  putUnsafe(node);
  return this;
}
origin: apache/servicemix-bundles

/**
 * adds a disco node to the builder. Will throw an {@link IllegalArgumentException} if
 * the supplied node doesn't pass the pre-flight checks performed by {@link #validateAdd(DiscoveryNode)}
 */
public Builder add(DiscoveryNode node) {
  final String preflight = validateAdd(node);
  if (preflight != null) {
    throw new IllegalArgumentException(preflight);
  }
  putUnsafe(node);
  return this;
}
org.elasticsearch.cluster.nodeDiscoveryNodes$BuildervalidateAdd

Javadoc

Checks that a node can be safely added to this node collection.

Popular methods of DiscoveryNodes$Builder

  • localNodeId
  • build
  • masterNodeId
  • add
    adds a disco node to the builder. Will throw an IllegalArgumentException if the supplied node doesn'
  • remove
  • <init>
  • put
  • get
    Get a node by its id
  • isLocalNodeElectedMaster
  • putUnsafe
  • readFrom
  • readFrom

Popular in Java

  • Finding current android device location
  • requestLocationUpdates (LocationManager)
  • getSystemService (Context)
  • compareTo (BigDecimal)
  • BufferedImage (java.awt.image)
    The BufferedImage subclass describes an java.awt.Image with an accessible buffer of image data. All
  • System (java.lang)
    Provides access to system-related information and resources including standard input and output. Ena
  • Manifest (java.util.jar)
    The Manifest class is used to obtain attribute information for a JarFile and its entries.
  • Base64 (org.apache.commons.codec.binary)
    Provides Base64 encoding and decoding as defined by RFC 2045.This class implements section 6.8. Base
  • Table (org.hibernate.mapping)
    A relational table
  • Logger (org.slf4j)
    The org.slf4j.Logger interface is the main user entry point of SLF4J API. It is expected that loggin
  • Top Sublime Text plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now