Modifier and Type | Method and Description |
---|---|
SnapshotId |
SnapshotStatus.getSnapshotId()
Returns snapshot id
|
Modifier and Type | Method and Description |
---|---|
com.google.common.collect.ImmutableMap<SnapshotId,com.google.common.collect.ImmutableMap<ShardId,SnapshotIndexShardStatus>> |
TransportNodesSnapshotsStatus.NodeSnapshotStatus.status() |
Modifier and Type | Method and Description |
---|---|
TransportNodesSnapshotsStatus.Request |
TransportNodesSnapshotsStatus.Request.snapshotIds(SnapshotId[] snapshotIds) |
Constructor and Description |
---|
TransportNodesSnapshotsStatus.NodeSnapshotStatus(DiscoveryNode node,
com.google.common.collect.ImmutableMap<SnapshotId,com.google.common.collect.ImmutableMap<ShardId,SnapshotIndexShardStatus>> status) |
Modifier and Type | Method and Description |
---|---|
SnapshotId |
RestoreInProgress.Entry.snapshotId()
Returns snapshot id
|
SnapshotId |
SnapshotsInProgress.Entry.snapshotId() |
Modifier and Type | Method and Description |
---|---|
RestoreInProgress.Entry |
RestoreInProgress.snapshot(SnapshotId snapshotId)
Returns currently running restore process with corresponding snapshot id or null if this snapshot is not being
restored
|
SnapshotsInProgress.Entry |
SnapshotsInProgress.snapshot(SnapshotId snapshotId) |
Constructor and Description |
---|
RestoreInProgress.Entry(SnapshotId snapshotId,
RestoreInProgress.State state,
List<String> indices,
com.google.common.collect.ImmutableMap<ShardId,RestoreInProgress.ShardRestoreStatus> shards)
Creates new restore metadata
|
SnapshotsInProgress.Entry(SnapshotId snapshotId,
boolean includeGlobalState,
SnapshotsInProgress.State state,
List<String> indices,
long startTime,
com.google.common.collect.ImmutableMap<ShardId,SnapshotsInProgress.ShardSnapshotStatus> shards) |
Modifier and Type | Method and Description |
---|---|
static SnapshotId |
SnapshotId.readSnapshotId(StreamInput in)
Reads snapshot id from stream input
|
Modifier and Type | Method and Description |
---|---|
SnapshotId |
RestoreSource.snapshotId() |
Constructor and Description |
---|
RestoreSource(SnapshotId snapshotId,
Version version,
String index) |
Modifier and Type | Method and Description |
---|---|
void |
IndexShardRepository.restore(SnapshotId snapshotId,
Version version,
ShardId shardId,
ShardId snapshotShardId,
RecoveryState recoveryState)
Restores snapshot of the shard.
|
void |
IndexShardRepository.snapshot(SnapshotId snapshotId,
ShardId shardId,
SnapshotIndexCommit snapshotIndexCommit,
IndexShardSnapshotStatus snapshotStatus)
Creates a snapshot of the shard based on the index commit point.
|
IndexShardSnapshotStatus |
IndexShardRepository.snapshotStatus(SnapshotId snapshotId,
Version version,
ShardId shardId)
Retrieve shard snapshot status for the stored snapshot
|
Modifier and Type | Method and Description |
---|---|
void |
BlobStoreIndexShardRepository.delete(SnapshotId snapshotId,
Version version,
ShardId shardId)
Delete shard snapshot
|
void |
BlobStoreIndexShardRepository.restore(SnapshotId snapshotId,
Version version,
ShardId shardId,
ShardId snapshotShardId,
RecoveryState recoveryState)
Restores snapshot of the shard.
|
void |
BlobStoreIndexShardRepository.snapshot(SnapshotId snapshotId,
ShardId shardId,
SnapshotIndexCommit snapshotIndexCommit,
IndexShardSnapshotStatus snapshotStatus)
Creates a snapshot of the shard based on the index commit point.
|
IndexShardSnapshotStatus |
BlobStoreIndexShardRepository.snapshotStatus(SnapshotId snapshotId,
Version version,
ShardId shardId)
Retrieve shard snapshot status for the stored snapshot
|
Modifier and Type | Method and Description |
---|---|
List<SnapshotId> |
Repository.snapshots()
Returns the list of snapshots currently stored in the repository
|
Modifier and Type | Method and Description |
---|---|
void |
Repository.deleteSnapshot(SnapshotId snapshotId)
Deletes snapshot
|
Snapshot |
Repository.finalizeSnapshot(SnapshotId snapshotId,
List<String> indices,
long startTime,
String failure,
int totalShards,
List<SnapshotShardFailure> shardFailures)
Finalizes snapshotting process
|
void |
Repository.initializeSnapshot(SnapshotId snapshotId,
List<String> indices,
MetaData metaData)
Starts snapshotting process
|
Snapshot |
Repository.readSnapshot(SnapshotId snapshotId)
Reads snapshot description from repository.
|
MetaData |
Repository.readSnapshotMetaData(SnapshotId snapshotId,
Snapshot snapshot,
List<String> indices)
Returns global metadata associate with the snapshot.
|
Modifier and Type | Method and Description |
---|---|
protected List<SnapshotId> |
BlobStoreRepository.readSnapshotList()
Reads snapshot index file
|
List<SnapshotId> |
BlobStoreRepository.snapshots()
Returns the list of snapshots currently stored in the repository
|
Modifier and Type | Method and Description |
---|---|
void |
BlobStoreRepository.deleteSnapshot(SnapshotId snapshotId)
Deletes snapshot
|
Snapshot |
BlobStoreRepository.finalizeSnapshot(SnapshotId snapshotId,
List<String> indices,
long startTime,
String failure,
int totalShards,
List<SnapshotShardFailure> shardFailures)
Finalizes snapshotting process
|
void |
BlobStoreRepository.initializeSnapshot(SnapshotId snapshotId,
List<String> indices,
MetaData metaData)
Starts snapshotting process
|
Snapshot |
BlobStoreRepository.readSnapshot(SnapshotId snapshotId)
Reads snapshot description from repository.
|
MetaData |
BlobStoreRepository.readSnapshotMetaData(SnapshotId snapshotId,
Snapshot snapshot,
List<String> indices)
Returns global metadata associate with the snapshot.
|
Modifier and Type | Method and Description |
---|---|
protected void |
BlobStoreRepository.writeSnapshotList(List<SnapshotId> snapshots)
Writes snapshot index file
|
Modifier and Type | Method and Description |
---|---|
List<SnapshotId> |
URLRepository.snapshots() |
Modifier and Type | Method and Description |
---|---|
SnapshotId |
RestoreService.RestoreCompletionResponse.getSnapshotId() |
SnapshotId |
SnapshotException.snapshot() |
SnapshotId |
SnapshotShardsService.UpdateIndexShardSnapshotStatusRequest.snapshotId() |
SnapshotId |
RestoreService.UpdateIndexShardRestoreStatusRequest.snapshotId() |
Modifier and Type | Method and Description |
---|---|
Map<ShardId,IndexShardSnapshotStatus> |
SnapshotShardsService.currentSnapshotShards(SnapshotId snapshotId)
Returns status of shards that are snapshotted on the node and belong to the given snapshot
|
void |
SnapshotsService.deleteSnapshot(SnapshotId snapshotId,
SnapshotsService.DeleteSnapshotListener listener)
Deletes snapshot from repository.
|
void |
RestoreService.failRestore(SnapshotId snapshotId,
ShardId shardId)
Fails the given snapshot restore operation for the given shard
|
void |
RestoreService.indexShardRestoreCompleted(SnapshotId snapshotId,
ShardId shardId)
This method is used by
StoreRecoveryService to notify
RestoreService about shard restore completion. |
void |
SnapshotsService.SnapshotCompletionListener.onSnapshotCompletion(SnapshotId snapshotId,
SnapshotInfo snapshot) |
void |
SnapshotsService.SnapshotCompletionListener.onSnapshotFailure(SnapshotId snapshotId,
Throwable t) |
Snapshot |
SnapshotsService.snapshot(SnapshotId snapshotId)
Retrieves snapshot from repository
|
com.google.common.collect.ImmutableMap<ShardId,IndexShardSnapshotStatus> |
SnapshotsService.snapshotShards(SnapshotId snapshotId)
Returns status of shards currently finished snapshots
|
void |
SnapshotShardsService.updateIndexShardSnapshotStatus(SnapshotId snapshotId,
ShardId shardId,
SnapshotsInProgress.ShardSnapshotStatus status)
Updates the shard status
|
Constructor and Description |
---|
ConcurrentSnapshotExecutionException(SnapshotId snapshot,
String msg) |
InvalidSnapshotNameException(SnapshotId snapshot,
String desc) |
SnapshotCreationException(SnapshotId snapshot,
Throwable cause) |
SnapshotException(SnapshotId snapshot,
String msg) |
SnapshotException(SnapshotId snapshot,
String msg,
Throwable cause) |
SnapshotMissingException(SnapshotId snapshot) |
SnapshotMissingException(SnapshotId snapshot,
Throwable cause) |
SnapshotRestoreException(SnapshotId snapshot,
String message) |
SnapshotRestoreException(SnapshotId snapshot,
String message,
Throwable cause) |
SnapshotShardsService.UpdateIndexShardSnapshotStatusRequest(SnapshotId snapshotId,
ShardId shardId,
SnapshotsInProgress.ShardSnapshotStatus status) |
Copyright © 2009–2016. All rights reserved.