|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.elasticsearch.index.shard.AbstractIndexShardComponent org.elasticsearch.index.gateway.none.NoneIndexShardGateway
public class NoneIndexShardGateway
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.elasticsearch.index.gateway.IndexShardGateway |
---|
IndexShardGateway.RecoveryStatus, IndexShardGateway.Snapshot, IndexShardGateway.SnapshotStatus |
Field Summary |
---|
Fields inherited from class org.elasticsearch.index.shard.AbstractIndexShardComponent |
---|
componentSettings, indexSettings, logger, shardId |
Constructor Summary | |
---|---|
NoneIndexShardGateway(ShardId shardId,
Settings indexSettings,
IndexShard indexShard)
|
Method Summary | |
---|---|
void |
close(boolean delete)
Closes the index component. |
IndexShardGateway.RecoveryStatus |
recover()
Recovers the state of the shard from the gateway. |
boolean |
requiresSnapshotScheduling()
Returns true if this gateway requires scheduling management for snapshot operations. |
IndexShardGateway.SnapshotStatus |
snapshot(IndexShardGateway.Snapshot snapshot)
Snapshots the given shard into the gateway. |
Methods inherited from class org.elasticsearch.index.shard.AbstractIndexShardComponent |
---|
indexSettings, managementGroupName, nodeName, shardId |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.elasticsearch.index.shard.IndexShardComponent |
---|
indexSettings, shardId |
Constructor Detail |
---|
@Inject public NoneIndexShardGateway(ShardId shardId, @IndexSettings Settings indexSettings, IndexShard indexShard)
Method Detail |
---|
public IndexShardGateway.RecoveryStatus recover() throws IndexShardGatewayRecoveryException
IndexShardGateway
recover
in interface IndexShardGateway
IndexShardGatewayRecoveryException
public IndexShardGateway.SnapshotStatus snapshot(IndexShardGateway.Snapshot snapshot)
IndexShardGateway
snapshot
in interface IndexShardGateway
public boolean requiresSnapshotScheduling()
IndexShardGateway
requiresSnapshotScheduling
in interface IndexShardGateway
public void close(boolean delete)
CloseableIndexComponent
close
in interface CloseableIndexComponent
delete
- true if the index is being deleted.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |