Class DiscoveryDruidNode


  • public class DiscoveryDruidNode
    extends Object
    Representation of all information related to discovery of a node and all the other metadata associated with the node per nodeRole such as broker, historical etc. Note that one Druid process might announce multiple DiscoveryDruidNode if it acts in multiple NodeRoles e. g. Coordinator would announce DiscoveryDruidNode for NodeRole.OVERLORD as well when acting as Overlord.
    • Method Detail

      • getNodeRole

        public NodeRole getNodeRole()
        Keeping the legacy name 'nodeType' property name for backward compatibility. When the project is updated to Jackson 2.9 it could be changed, see https://github.com/apache/druid/issues/7152.
      • getDruidNode

        public DruidNode getDruidNode()
      • getStartTime

        public org.joda.time.DateTime getStartTime()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object