java.lang.Iterable<SnapshotIndexShardStatus>
, ToXContent
, ToXContentFragment
public class SnapshotIndexStatus extends java.lang.Object implements java.lang.Iterable<SnapshotIndexShardStatus>, ToXContentFragment
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
EMPTY_PARAMS
Modifier and Type | Method | Description |
---|---|---|
java.lang.String |
getIndex() |
Returns the index name
|
java.util.Map<java.lang.Integer,SnapshotIndexShardStatus> |
getShards() |
A shard id to index snapshot shard status map
|
SnapshotShardsStats |
getShardsStats() |
Shards stats
|
SnapshotStats |
getStats() |
Returns snapshot stats
|
java.util.Iterator<SnapshotIndexShardStatus> |
iterator() |
|
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isFragment
public java.lang.String getIndex()
public java.util.Map<java.lang.Integer,SnapshotIndexShardStatus> getShards()
public SnapshotShardsStats getShardsStats()
public SnapshotStats getStats()
public java.util.Iterator<SnapshotIndexShardStatus> iterator()
iterator
in interface java.lang.Iterable<SnapshotIndexShardStatus>
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException
toXContent
in interface ToXContent
java.io.IOException