org.elasticsearch.index.gateway
Interface IndexShardGateway
- All Superinterfaces:
- CloseableIndexComponent, IndexShardComponent
- All Known Implementing Classes:
- BlobStoreIndexShardGateway, FsIndexShardGateway, NoneIndexShardGateway
public interface IndexShardGateway
- extends IndexShardComponent, CloseableIndexComponent
type
java.lang.String type()
recover
IndexShardGateway.RecoveryStatus recover()
throws IndexShardGatewayRecoveryException
- Recovers the state of the shard from the gateway.
- Throws:
IndexShardGatewayRecoveryException
snapshot
IndexShardGateway.SnapshotStatus snapshot(IndexShardGateway.Snapshot snapshot)
throws IndexShardGatewaySnapshotFailedException
- Snapshots the given shard into the gateway.
- Throws:
IndexShardGatewaySnapshotFailedException
requiresSnapshotScheduling
boolean requiresSnapshotScheduling()
- Returns true if this gateway requires scheduling management for snapshot
operations.