Class Node.Roles

  • Enclosing class:
    Node

    public static final class Node.Roles
    extends Object
    Role information about an Elasticsearch process.
    • Constructor Detail

      • Roles

        public Roles​(boolean masterEligible,
                     boolean data,
                     boolean ingest)
    • Method Detail

      • isMasterEligible

        public boolean isMasterEligible()
        Teturns whether or not the node could be elected master.
      • isData

        public boolean isData()
        Teturns whether or not the node stores data.
      • isIngest

        public boolean isIngest()
        Teturns whether or not the node runs ingest pipelines.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object