Class Node

org.elasticsearch.node.Node
All Implemented Interfaces:
,

public class Node extends implements
A node represent a node within a cluster (cluster.name). The client() can be used in order to use a Client to perform actions/operations against the cluster.
  • Field Details

    • WRITE_PORTS_FILE_SETTING

      public static final > WRITE_PORTS_FILE_SETTING
    • NODE_LOCAL_STORAGE_SETTING

      public static final > NODE_LOCAL_STORAGE_SETTING
      controls whether the node is allowed to persist things like metadata to disk Note that this does not control whether the node stores actual indices (see NODE_DATA_SETTING). However, if this is false, NODE_DATA_SETTING and NODE_MASTER_SETTING must also be false.
    • NODE_NAME_SETTING

      public static final > NODE_NAME_SETTING
    • NODE_ATTRIBUTES

      public static final > NODE_ATTRIBUTES
    • BREAKER_TYPE_KEY

      public static final > BREAKER_TYPE_KEY
  • Constructor Details

    • Node

      public Node(Environment environment)
    • Node

      protected Node(Environment initialEnvironment, <<? extends Plugin>> classpathPlugins, boolean forbidPrivateIndexSettings)
      Constructs a node
      Parameters:
      initialEnvironment - the initial environment for this node, which will be added to by plugins
      classpathPlugins - the plugins to be loaded from the classpath
      forbidPrivateIndexSettings - whether or not private index settings are forbidden when creating an index; this is used in the test framework for tests that rely on being able to set private settings
  • Method Details