类 WatcherStatsResponse
java.lang.Object
org.easysearch.client.watcher.WatcherStatsResponse
public class WatcherStatsResponse
extends java.lang.Object
The response from an 'ack watch' request.
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 static classWatcherStatsResponse.Node -
构造器概要
构造器 构造器 说明 WatcherStatsResponse(NodesResponseHeader header, java.lang.String clusterName, WatcherMetadata watcherMetadata, java.util.List<WatcherStatsResponse.Node> nodes) -
方法概要
修饰符和类型 方法 说明 booleanequals(java.lang.Object o)static WatcherStatsResponsefromXContent(org.easysearch.common.xcontent.XContentParser parser)java.lang.StringgetClusterName()Get the cluster name associated with all of the nodes.NodesResponseHeadergetHeader()Gets information about the number of total, successful and failed nodes the request was run on.java.util.List<WatcherStatsResponse.Node>getNodes()returns a list of nodes that returned statsWatcherMetadatagetWatcherMetadata()inthashCode()从类继承的方法 java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
构造器详细资料
-
WatcherStatsResponse
public WatcherStatsResponse(NodesResponseHeader header, java.lang.String clusterName, WatcherMetadata watcherMetadata, java.util.List<WatcherStatsResponse.Node> nodes)
-
-
方法详细资料
-
getWatcherMetadata
- 返回:
- the status of the requested watch. If an action was successfully acknowledged, this will be reflected in its status.
-
getNodes
returns a list of nodes that returned stats -
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
-