Uses of Class
org.elasticsearch.snapshots.SnapshotId
-
Packages that use SnapshotId Package Description org.elasticsearch.client.slm org.elasticsearch.repositories org.elasticsearch.repositories.blobstore org.elasticsearch.snapshots -
-
Uses of SnapshotId in org.elasticsearch.client.slm
Constructors in org.elasticsearch.client.slm with parameters of type SnapshotId Constructor Description SnapshotInProgress(SnapshotId snapshotId, String state, long startTime, String failure) -
Uses of SnapshotId in org.elasticsearch.repositories
Methods in org.elasticsearch.repositories that return types with arguments of type SnapshotId Modifier and Type Method Description Collection<SnapshotId>RepositoryData. getSnapshotIds()Returns an unmodifiable collection of the snapshot ids.Set<SnapshotId>RepositoryData. getSnapshots(IndexId indexId)Returns an immutable collection of the snapshot ids for the snapshots that contain the given index.Methods in org.elasticsearch.repositories with parameters of type SnapshotId Modifier and Type Method Description RepositoryDataRepositoryData. addSnapshot(SnapshotId snapshotId, SnapshotState snapshotState, List<IndexId> snapshottedIndices)Add a snapshot and its indices to the repository; returns a new instance.voidRepository. deleteSnapshot(SnapshotId snapshotId, long repositoryStateId, ActionListener<Void> listener)Deletes snapshotvoidRepository. finalizeSnapshot(SnapshotId snapshotId, List<IndexId> indices, long startTime, String failure, int totalShards, List<SnapshotShardFailure> shardFailures, long repositoryStateId, boolean includeGlobalState, MetaData clusterMetaData, Map<String,Object> userMetadata, ActionListener<SnapshotInfo> listener)Finalizes snapshotting processIndexShardSnapshotStatusRepository. getShardSnapshotStatus(SnapshotId snapshotId, Version version, IndexId indexId, ShardId shardId)Retrieve shard snapshot status for the stored snapshotMetaDataRepository. getSnapshotGlobalMetaData(SnapshotId snapshotId)Returns global metadata associated with the snapshot.IndexMetaDataRepository. getSnapshotIndexMetaData(SnapshotId snapshotId, IndexId index)Returns the index metadata associated with the snapshot.SnapshotInfoRepository. getSnapshotInfo(SnapshotId snapshotId)Reads snapshot description from repository.SnapshotStateRepositoryData. getSnapshotState(SnapshotId snapshotId)Returns theSnapshotStatefor the given snapshot.List<IndexId>RepositoryData. indicesToUpdateAfterRemovingSnapshot(SnapshotId snapshotId)Returns the list ofIndexIdthat have their snapshots updated but not removed (because they are still referenced by other snapshots) after removing the given snapshot from the repository.voidRepository. initializeSnapshot(SnapshotId snapshotId, List<IndexId> indices, MetaData metaData)Deprecated.this method is only used when taking snapshots in a mixed version cluster where a master node older thanSnapshotsService.NO_REPO_INITIALIZE_VERSIONis present.RepositoryDataRepositoryData. removeSnapshot(SnapshotId snapshotId)Remove a snapshot and remove any indices that no longer exist in the repository due to the deletion of the snapshot.default voidRepository. restoreShard(IndexShard shard, Store store, SnapshotId snapshotId, Version version, IndexId indexId, ShardId snapshotShardId, RecoveryState recoveryState)Deprecated.voidRepository. restoreShard(Store store, SnapshotId snapshotId, Version version, IndexId indexId, ShardId snapshotShardId, RecoveryState recoveryState)Restores snapshot of the shard.voidRepository. snapshotShard(Store store, MapperService mapperService, SnapshotId snapshotId, IndexId indexId, IndexCommit snapshotIndexCommit, IndexShardSnapshotStatus snapshotStatus, ActionListener<Void> listener)Creates a snapshot of the shard based on the index commit point.Constructor parameters in org.elasticsearch.repositories with type arguments of type SnapshotId Constructor Description RepositoryData(long genId, Map<String,SnapshotId> snapshotIds, Map<String,SnapshotState> snapshotStates, Map<IndexId,Set<SnapshotId>> indexSnapshots) -
Uses of SnapshotId in org.elasticsearch.repositories.blobstore
Fields in org.elasticsearch.repositories.blobstore declared as SnapshotId Modifier and Type Field Description protected SnapshotIdFileRestoreContext. snapshotIdMethods in org.elasticsearch.repositories.blobstore with parameters of type SnapshotId Modifier and Type Method Description voidBlobStoreRepository. deleteSnapshot(SnapshotId snapshotId, long repositoryStateId, ActionListener<Void> listener)voidBlobStoreRepository. finalizeSnapshot(SnapshotId snapshotId, List<IndexId> indices, long startTime, String failure, int totalShards, List<SnapshotShardFailure> shardFailures, long repositoryStateId, boolean includeGlobalState, MetaData clusterMetaData, Map<String,Object> userMetadata, ActionListener<SnapshotInfo> listener)IndexShardSnapshotStatusBlobStoreRepository. getShardSnapshotStatus(SnapshotId snapshotId, Version version, IndexId indexId, ShardId shardId)MetaDataBlobStoreRepository. getSnapshotGlobalMetaData(SnapshotId snapshotId)IndexMetaDataBlobStoreRepository. getSnapshotIndexMetaData(SnapshotId snapshotId, IndexId index)SnapshotInfoBlobStoreRepository. getSnapshotInfo(SnapshotId snapshotId)voidBlobStoreRepository. initializeSnapshot(SnapshotId snapshotId, List<IndexId> indices, MetaData clusterMetaData)voidBlobStoreRepository. restoreShard(Store store, SnapshotId snapshotId, Version version, IndexId indexId, ShardId snapshotShardId, RecoveryState recoveryState)voidBlobStoreRepository. snapshotShard(Store store, MapperService mapperService, SnapshotId snapshotId, IndexId indexId, IndexCommit snapshotIndexCommit, IndexShardSnapshotStatus snapshotStatus, ActionListener<Void> listener)Constructors in org.elasticsearch.repositories.blobstore with parameters of type SnapshotId Constructor Description FileRestoreContext(String repositoryName, ShardId shardId, SnapshotId snapshotId, RecoveryState recoveryState, int bufferSize)Constructs new restore context -
Uses of SnapshotId in org.elasticsearch.snapshots
Methods in org.elasticsearch.snapshots that return SnapshotId Modifier and Type Method Description SnapshotIdSnapshot. getSnapshotId()Gets the snapshot id for the snapshot.SnapshotIdSnapshotInfo. snapshotId()Returns snapshot idMethods in org.elasticsearch.snapshots with parameters of type SnapshotId Modifier and Type Method Description intSnapshotId. compareTo(SnapshotId other)SnapshotInfoSnapshotsService. snapshot(String repositoryName, SnapshotId snapshotId)Retrieves snapshot from repositoryMethod parameters in org.elasticsearch.snapshots with type arguments of type SnapshotId Modifier and Type Method Description List<SnapshotInfo>SnapshotsService. snapshots(String repositoryName, List<SnapshotId> snapshotIds, boolean ignoreUnavailable)Returns a list of snapshots from repository sorted by snapshot creation dateConstructors in org.elasticsearch.snapshots with parameters of type SnapshotId Constructor Description Snapshot(String repository, SnapshotId snapshotId)Constructs a snapshot.SnapshotCreationException(String repositoryName, SnapshotId snapshotId, Throwable cause)SnapshotException(String repositoryName, SnapshotId snapshotId, String msg, Throwable cause)SnapshotInfo(SnapshotId snapshotId, List<String> indices, long startTime, Boolean includeGlobalState, Map<String,Object> userMetadata)SnapshotInfo(SnapshotId snapshotId, List<String> indices, long startTime, String reason, long endTime, int totalShards, List<SnapshotShardFailure> shardFailures, Boolean includeGlobalState, Map<String,Object> userMetadata)SnapshotInfo(SnapshotId snapshotId, List<String> indices, SnapshotState state)SnapshotInfo(SnapshotId snapshotId, List<String> indices, SnapshotState state, Version version)SnapshotMissingException(String repositoryName, SnapshotId snapshotId, Throwable cause)
-