public class TranslogRecoveryPerformer extends Object
| 修飾子とタイプ | クラスと説明 |
|---|---|
static class |
TranslogRecoveryPerformer.BatchOperationException |
| 修飾子 | コンストラクタと説明 |
|---|---|
protected |
TranslogRecoveryPerformer(ShardId shardId,
MapperService mapperService,
IndexQueryParserService queryParserService,
IndexAliasesService indexAliasesService,
IndexCache indexCache,
ESLogger logger) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
protected DocumentMapperForType |
docMapper(String type) |
Map<String,Mapping> |
getRecoveredTypes()
Returns the recovered types modifying the mapping during the recovery
|
protected void |
operationProcessed()
Called once for every processed operation by this recovery performer.
|
void |
performRecoveryOperation(Engine engine,
Translog.Operation operation,
boolean allowMappingUpdates)
Performs a single recovery operation.
|
int |
recoveryFromSnapshot(Engine engine,
Translog.Snapshot snapshot) |
protected TranslogRecoveryPerformer(ShardId shardId, MapperService mapperService, IndexQueryParserService queryParserService, IndexAliasesService indexAliasesService, IndexCache indexCache, ESLogger logger)
protected DocumentMapperForType docMapper(String type)
public int recoveryFromSnapshot(Engine engine, Translog.Snapshot snapshot) throws IOException
IOExceptionpublic void performRecoveryOperation(Engine engine, Translog.Operation operation, boolean allowMappingUpdates)
allowMappingUpdates - true if mapping update should be accepted (but collected). Setting it to false will
cause a MapperException to be thrown if an update
is encountered.protected void operationProcessed()
Copyright © 2009–2016. All rights reserved.