Class MasterHistoryAction.Response

All Implemented Interfaces:
Writeable, RefCounted
Enclosing class:
MasterHistoryAction

public static class MasterHistoryAction.Response extends ActionResponse
  • Constructor Details

  • Method Details

    • getMasterHistory

      public List<DiscoveryNode> getMasterHistory()
      Returns an ordered list of DiscoveryNodes that the node responding has seen to be master nodes over the last 30 minutes, ordered oldest first. Note that these DiscoveryNodes can be null.
      Returns:
      a list of DiscoveryNodes that the node responding has seen to be master nodes over the last 30 minutes, ordered oldest first
    • writeTo

      public void writeTo(StreamOutput out) throws IOException
      Description copied from interface: Writeable
      Write this into the StreamOutput.
      Throws:
      IOException
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object