public class IndicesSyncedFlushResult extends Object implements ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
EMPTY_PARAMS
Constructor and Description |
---|
IndicesSyncedFlushResult(Map<String,List<ShardsSyncedFlushResult>> shardsResultPerIndex) |
Modifier and Type | Method and Description |
---|---|
int |
failedShards()
total number of shards for which the operation failed
|
Map<String,List<ShardsSyncedFlushResult>> |
getShardsResultPerIndex() |
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) |
public IndicesSyncedFlushResult(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
in interface ToXContent
IOException
Copyright © 2009–2016. All rights reserved.