public class ClusterHealthRequest extends MasterNodeReadRequest<ClusterHealthRequest> implements IndicesRequest.Replaceable
TransportRequest.EmptyIndicesRequest.ReplaceablelocalDEFAULT_MASTER_NODE_TIMEOUT, masterNodeTimeoutheaders| コンストラクタと説明 |
|---|
ClusterHealthRequest() |
ClusterHealthRequest(String... indices) |
local, localmasterNodeTimeout, masterNodeTimeout, masterNodeTimeoutcreateTask, createTask, setParentTaskgetDescriptionremoteAddress, remoteAddresscontextSize, copyContextAndHeadersFrom, copyContextFrom, copyHeadersFrom, getContext, getFromContext, getFromContext, getHeader, getHeaders, hasHeader, hasInContext, isContextEmpty, putAllInContext, putHeader, putInContextpublic ClusterHealthRequest()
public ClusterHealthRequest(String... indices)
public String[] indices()
IndicesRequestindices インタフェース内 IndicesRequestpublic ClusterHealthRequest indices(String[] indices)
indices インタフェース内 IndicesRequest.Replaceablepublic IndicesOptions indicesOptions()
IndicesRequestindicesOptions インタフェース内 IndicesRequestpublic TimeValue timeout()
public ClusterHealthRequest timeout(TimeValue timeout)
public ClusterHealthRequest timeout(String timeout)
public ClusterHealthStatus waitForStatus()
public ClusterHealthRequest waitForStatus(ClusterHealthStatus waitForStatus)
public ClusterHealthRequest waitForGreenStatus()
public ClusterHealthRequest waitForYellowStatus()
public int waitForRelocatingShards()
public ClusterHealthRequest waitForRelocatingShards(int waitForRelocatingShards)
public int waitForActiveShards()
public ClusterHealthRequest waitForActiveShards(int waitForActiveShards)
public String waitForNodes()
public ClusterHealthRequest waitForNodes(String waitForNodes)
public ClusterHealthRequest waitForEvents(Priority waitForEvents)
public Priority waitForEvents()
public ActionRequestValidationException validate()
validate クラス内 ActionRequest<ClusterHealthRequest>public void readFrom(StreamInput in) throws IOException
readFrom インタフェース内 StreamablereadFrom クラス内 MasterNodeReadRequest<ClusterHealthRequest>IOExceptionpublic void writeTo(StreamOutput out) throws IOException
writeTo インタフェース内 StreamablewriteTo クラス内 MasterNodeReadRequest<ClusterHealthRequest>IOExceptionCopyright © 2009–2016. All rights reserved.