public class SyncedFlushResponse extends ActionResponse implements ToXContent
TransportResponse.EmptyToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsheadersEMPTY_PARAMS| コンストラクタと説明 |
|---|
SyncedFlushResponse(Map<String,List<ShardsSyncedFlushResult>> shardsResultPerIndex) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
int |
failedShards()
total number of shards for which the operation failed
|
Map<String,List<ShardsSyncedFlushResult>> |
getShardsResultPerIndex() |
void |
readFrom(StreamInput in) |
RestStatus |
restStatus() |
int |
successfulShards()
total number of shards which were successfully sync-flushed
|
int |
totalShards()
total number shards, including replicas, both assigned and unassigned
|
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
void |
writeTo(StreamOutput out) |
remoteAddress, remoteAddresscontextSize, copyContextAndHeadersFrom, copyContextFrom, copyHeadersFrom, getContext, getFromContext, getFromContext, getHeader, getHeaders, hasHeader, hasInContext, isContextEmpty, putAllInContext, putHeader, putInContextpublic SyncedFlushResponse(Map<String,List<ShardsSyncedFlushResult>> shardsResultPerIndex)
public int totalShards()
public int failedShards()
public int successfulShards()
public RestStatus restStatus()
public Map<String,List<ShardsSyncedFlushResult>> getShardsResultPerIndex()
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
toXContent インタフェース内 ToXContentIOExceptionpublic void readFrom(StreamInput in) throws IOException
readFrom インタフェース内 StreamablereadFrom クラス内 ActionResponseIOExceptionpublic void writeTo(StreamOutput out) throws IOException
writeTo インタフェース内 StreamablewriteTo クラス内 ActionResponseIOExceptionCopyright © 2009–2016. All rights reserved.