| Package | Description |
|---|---|
| org.elasticsearch.repositories | |
| org.elasticsearch.repositories.blobstore | |
| org.elasticsearch.snapshots |
| Modifier and Type | Method and Description |
|---|---|
Snapshot |
Repository.finalizeSnapshot(SnapshotId snapshotId,
String failure,
int totalShards,
com.google.common.collect.ImmutableList<SnapshotShardFailure> shardFailures)
Finalizes snapshotting process
This method is called on master after all shards are snapshotted.
|
| Modifier and Type | Method and Description |
|---|---|
com.google.common.collect.ImmutableList<SnapshotShardFailure> |
BlobStoreSnapshot.shardFailures()
Returns shard failures
|
| Modifier and Type | Method and Description |
|---|---|
BlobStoreSnapshot.Builder |
BlobStoreSnapshot.Builder.failures(int totalShard,
com.google.common.collect.ImmutableList<SnapshotShardFailure> shardFailures)
Sets the total number of shards and the list of individual shard failures
|
Snapshot |
BlobStoreRepository.finalizeSnapshot(SnapshotId snapshotId,
String failure,
int totalShards,
com.google.common.collect.ImmutableList<SnapshotShardFailure> shardFailures)
Finalizes snapshotting process
This method is called on master after all shards are snapshotted.
|
BlobStoreSnapshot.Builder |
BlobStoreSnapshot.Builder.shardFailures(com.google.common.collect.ImmutableList<SnapshotShardFailure> shardFailures)
Sets the list of individual shard failures
|
| Modifier and Type | Method and Description |
|---|---|
static SnapshotShardFailure |
SnapshotShardFailure.fromXContent(XContentParser parser)
Deserializes snapshot failure information from JSON
|
static SnapshotShardFailure |
SnapshotShardFailure.readSnapshotShardFailure(StreamInput in)
Reads shard failure information from stream input
|
| Modifier and Type | Method and Description |
|---|---|
com.google.common.collect.ImmutableList<SnapshotShardFailure> |
SnapshotInfo.shardFailures()
Returns shard failures
|
com.google.common.collect.ImmutableList<SnapshotShardFailure> |
Snapshot.shardFailures()
Returns shard failures
|
| Modifier and Type | Method and Description |
|---|---|
static void |
SnapshotShardFailure.toXContent(SnapshotShardFailure snapshotShardFailure,
XContentBuilder builder,
ToXContent.Params params)
Serializes snapshot failure information into JSON
|
Copyright © 2009–2016. All rights reserved.