public interface Snapshot extends Comparable<Snapshot>
Modifier and Type | Method and Description |
---|---|
long |
endTime()
Returns time when snapshot ended
Can be 0L if snapshot is still running
|
com.google.common.collect.ImmutableList<String> |
indices()
Returns indices that were included into this snapshot
|
String |
name()
Returns snapshot name
|
String |
reason()
Returns reason for complete snapshot failure
|
com.google.common.collect.ImmutableList<SnapshotShardFailure> |
shardFailures()
Returns shard failures
|
long |
startTime()
Returns time when snapshot started
|
SnapshotState |
state()
Returns current snapshot state
|
int |
successfulShards()
Returns total number of shards that were successfully snapshotted
|
int |
totalShard()
Returns total number of shards that were snapshotted
|
Version |
version()
Returns version of Elasticsearch that was used to create this snapshot
|
compareTo
String name()
SnapshotState state()
String reason()
Version version()
com.google.common.collect.ImmutableList<String> indices()
long startTime()
long endTime()
int totalShard()
int successfulShards()
com.google.common.collect.ImmutableList<SnapshotShardFailure> shardFailures()
Copyright © 2009–2015. All rights reserved.