类 WatcherStatsResponse

java.lang.Object
org.easysearch.client.watcher.WatcherStatsResponse

public class WatcherStatsResponse
extends java.lang.Object
The response from an 'ack watch' request.
  • 构造器详细资料

  • 方法详细资料

    • getWatcherMetadata

      public WatcherMetadata getWatcherMetadata()
      返回:
      the status of the requested watch. If an action was successfully acknowledged, this will be reflected in its status.
    • getNodes

      public java.util.List<WatcherStatsResponse.Node> getNodes()
      returns a list of nodes that returned stats
    • 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.
      返回:
      Never null.
    • fromXContent

      public static WatcherStatsResponse fromXContent​(org.easysearch.common.xcontent.XContentParser parser) throws java.io.IOException
      抛出:
      java.io.IOException
    • equals

      public boolean equals​(java.lang.Object o)
      覆盖:
      equals 在类中 java.lang.Object
    • hashCode

      public int hashCode()
      覆盖:
      hashCode 在类中 java.lang.Object