|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IndexShardGateway
Nested Class Summary | |
---|---|
static class |
IndexShardGateway.Snapshot
|
static interface |
IndexShardGateway.SnapshotLock
|
Field Summary | |
---|---|
static IndexShardGateway.SnapshotLock |
NO_SNAPSHOT_LOCK
|
Method Summary | |
---|---|
SnapshotStatus |
currentSnapshotStatus()
The current snapshot status being performed. |
SnapshotStatus |
lastSnapshotStatus()
The last snapshot status performed. |
IndexShardGateway.SnapshotLock |
obtainSnapshotLock()
|
void |
recover(boolean indexShouldExists,
RecoveryStatus recoveryStatus)
Recovers the state of the shard from the gateway. |
RecoveryStatus |
recoveryStatus()
The last / on going recovery status. |
boolean |
requiresSnapshot()
Returns true if snapshot is even required on this gateway (i.e. |
boolean |
requiresSnapshotScheduling()
Returns true if this gateway requires scheduling management for snapshot operations. |
SnapshotStatus |
snapshot(IndexShardGateway.Snapshot snapshot)
Snapshots the given shard into the gateway. |
String |
type()
|
Methods inherited from interface org.elasticsearch.index.shard.IndexShardComponent |
---|
indexSettings, shardId |
Methods inherited from interface org.elasticsearch.index.CloseableIndexComponent |
---|
close |
Field Detail |
---|
static final IndexShardGateway.SnapshotLock NO_SNAPSHOT_LOCK
Method Detail |
---|
String type()
RecoveryStatus recoveryStatus()
SnapshotStatus lastSnapshotStatus()
SnapshotStatus currentSnapshotStatus()
void recover(boolean indexShouldExists, RecoveryStatus recoveryStatus) throws IndexShardGatewayRecoveryException
IndexShardGatewayRecoveryException
SnapshotStatus snapshot(IndexShardGateway.Snapshot snapshot) throws IndexShardGatewaySnapshotFailedException
IndexShardGatewaySnapshotFailedException
boolean requiresSnapshot()
boolean requiresSnapshotScheduling()
IndexShardGateway.SnapshotLock obtainSnapshotLock() throws Exception
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |