congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
DiscoveryNodes$Builder.putUnsafe
Code IndexAdd Tabnine to your IDE (free)

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

Best Java code snippets using org.elasticsearch.cluster.node.DiscoveryNodes$Builder.putUnsafe (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$BuilderputUnsafe

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
  • validateAdd
    Checks that a node can be safely added to this node collection.
  • readFrom
  • readFrom

Popular in Java

  • Start an intent from android
  • scheduleAtFixedRate (ScheduledExecutorService)
  • compareTo (BigDecimal)
  • getContentResolver (Context)
  • String (java.lang)
  • Enumeration (java.util)
    A legacy iteration interface.New code should use Iterator instead. Iterator replaces the enumeration
  • ResourceBundle (java.util)
    ResourceBundle is an abstract class which is the superclass of classes which provide Locale-specifi
  • TimerTask (java.util)
    The TimerTask class represents a task to run at a specified time. The task may be run once or repeat
  • TreeSet (java.util)
    TreeSet is an implementation of SortedSet. All optional operations (adding and removing) are support
  • CountDownLatch (java.util.concurrent)
    A synchronization aid that allows one or more threads to wait until a set of operations being perfor
  • Sublime Text for Python
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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