Package | Description |
---|---|
org.elasticsearch.repositories.blobstore |
Modifier and Type | Method and Description |
---|---|
static BlobStoreSnapshot.Builder |
BlobStoreSnapshot.builder()
Creates new BlobStoreSnapshot builder
|
BlobStoreSnapshot.Builder |
BlobStoreSnapshot.Builder.endTime(long endTime)
Sets snapshot end time
|
BlobStoreSnapshot.Builder |
BlobStoreSnapshot.Builder.failed(String reason)
Marks snapshot as failed and saves failure reason
|
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
|
BlobStoreSnapshot.Builder |
BlobStoreSnapshot.Builder.indices(Collection<String> indices)
Sets list of indices in the snapshot
|
BlobStoreSnapshot.Builder |
BlobStoreSnapshot.Builder.indices(String[] indices)
Sets list of indices in the snapshot
|
BlobStoreSnapshot.Builder |
BlobStoreSnapshot.Builder.name(String name)
Sets snapshot name
|
BlobStoreSnapshot.Builder |
BlobStoreSnapshot.Builder.partial()
Marks snapshot as partially successful
|
BlobStoreSnapshot.Builder |
BlobStoreSnapshot.Builder.reason(String reason)
Sets snapshot failure reason
|
BlobStoreSnapshot.Builder |
BlobStoreSnapshot.Builder.shardFailures(com.google.common.collect.ImmutableList<SnapshotShardFailure> shardFailures)
Sets the list of individual shard failures
|
BlobStoreSnapshot.Builder |
BlobStoreSnapshot.Builder.snapshot(BlobStoreSnapshot snapshot)
Copies data from another snapshot into the builder
|
BlobStoreSnapshot.Builder |
BlobStoreSnapshot.Builder.startTime(long startTime)
Sets snapshot start time
|
BlobStoreSnapshot.Builder |
BlobStoreSnapshot.Builder.state(SnapshotState state)
Sets snapshot state
|
BlobStoreSnapshot.Builder |
BlobStoreSnapshot.Builder.success()
Marks snapshot as successful
|
BlobStoreSnapshot.Builder |
BlobStoreSnapshot.Builder.successfulShards(int successfulShards)
Sets total number fo shards that were successfully snapshotted
|
BlobStoreSnapshot.Builder |
BlobStoreSnapshot.Builder.totalShard(int totalShard)
Sets total number of shards across all snapshot indices
|
BlobStoreSnapshot.Builder |
BlobStoreSnapshot.Builder.version(Version version)
Sets version of Elasticsearch that created this snapshot
|
Copyright © 2009–2015. All rights reserved.