public class NoneIndexShardGateway extends AbstractIndexShardComponent implements IndexShardGateway
componentSettings, indexSettings, logger, shardId| Constructor and Description |
|---|
NoneIndexShardGateway(ShardId shardId,
Settings indexSettings,
IndexShard indexShard) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes the index component.
|
void |
recover(boolean indexShouldExists,
RecoveryState recoveryState)
Recovers the state of the shard from the gateway.
|
String |
toString() |
String |
type() |
indexSettings, nodeName, shardIdclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitindexSettings, shardId@Inject public NoneIndexShardGateway(ShardId shardId, @IndexSettings Settings indexSettings, IndexShard indexShard)
public void recover(boolean indexShouldExists,
RecoveryState recoveryState)
throws IndexShardGatewayRecoveryException
IndexShardGatewayrecover in interface IndexShardGatewayIndexShardGatewayRecoveryExceptionpublic String type()
type in interface IndexShardGatewaypublic void close()
CloseableIndexComponentclose in interface Closeableclose in interface AutoCloseableclose in interface CloseableIndexComponentCopyright © 2009–2016. All rights reserved.