public class SnapshotShardsStats extends Objectimplements ToXContent
ToXContent.DelegatingMapParams , ToXContent.MapParams , ToXContent.Params EMPTY_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
|
public int getInitializingShards()
public int getStartedShards()
public int getFinalizingShards()
public int getDoneShards()
public int getFailedShards()
public int getTotalShards()
public XContentBuildertoXContent(XContentBuilder builder, ToXContent .Params params) throws IOException
toXContent in interface
ToXContent
IOException