public class SnapshotShardsStats extends java.lang.Object implements ToXContentFragment
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) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisFragmentpublic 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 java.io.IOException
toXContent in interface ToXContentjava.io.IOException