Class WatcherStatsResponse


  • public class WatcherStatsResponse
    extends java.lang.Object
    The response from an 'ack watch' request.
    • Method Detail

      • getWatcherMetaData

        public WatcherMetaData getWatcherMetaData()
        Returns:
        the status of the requested watch. If an action was successfully acknowledged, this will be reflected in its status.
      • getHeader

        public NodesResponseHeader getHeader()
        Gets information about the number of total, successful and failed nodes the request was run on. Also includes exceptions if relevant.
      • getClusterName

        public java.lang.String getClusterName()
        Get the cluster name associated with all of the nodes.
        Returns:
        Never null.
      • equals

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

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