public class SnapshotShardsStats extends Object implements ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsEMPTY_PARAMS| Modifier and Type | Method and Description |
|---|---|
int |
getDoneShards()
Number of shards with completed snapshot
|
int |
getFailedShards()
Number of shards with failed snapshot
|
int |
getFinalizingShards()
Number of shards with the snapshot in the finalizing stage
|
int |
getInitializingShards()
Number of shards with the snapshot in the initializing stage
|
int |
getStartedShards()
Number of shards with the snapshot in the started stage
|
int |
getTotalShards()
Total number of shards
|
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
public int getInitializingShards()
public int getStartedShards()
public int getFinalizingShards()
public int getDoneShards()
public int getFailedShards()
public int getTotalShards()
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
toXContent in interface ToXContentIOExceptionCopyright © 2009–2017. All rights reserved.