Class Node.Roles

  • Enclosing class:
    Node

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

      Constructors 
      Constructor Description
      Roles​(boolean masterEligible, boolean data, boolean ingest)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      int hashCode()  
      boolean isData()
      Teturns whether or not the node stores data.
      boolean isIngest()
      Teturns whether or not the node runs ingest pipelines.
      boolean isMasterEligible()
      Teturns whether or not the node could be elected master.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • 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.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object