public class SnapshotIndexStatus extends Object implements Iterable<SnapshotIndexShardStatus>, ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
EMPTY_PARAMS
Modifier and Type | Method and Description |
---|---|
String |
getIndex()
Returns the index name
|
Map<Integer,SnapshotIndexShardStatus> |
getShards()
A shard id to index snapshot shard status map
|
SnapshotShardsStats |
getShardsStats()
Shards stats
|
SnapshotStats |
getStats()
Returns snapshot stats
|
Iterator<SnapshotIndexShardStatus> |
iterator() |
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
public String getIndex()
public Map<Integer,SnapshotIndexShardStatus> getShards()
public SnapshotShardsStats getShardsStats()
public SnapshotStats getStats()
public Iterator<SnapshotIndexShardStatus> iterator()
iterator
in interface Iterable<SnapshotIndexShardStatus>
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
toXContent
in interface ToXContent
IOException
Copyright © 2009–2016. All rights reserved.