EngineConfig.TranslogRecoveryRunner
public class TranslogHandler extends java.lang.Object implements EngineConfig.TranslogRecoveryRunner
Modifier and Type | Field | Description |
---|---|---|
Mapping |
mappingUpdate |
Constructor | Description |
---|---|
TranslogHandler(NamedXContentRegistry xContentRegistry,
IndexSettings indexSettings) |
Modifier and Type | Method | Description |
---|---|---|
java.util.Map<java.lang.String,Mapping> |
getRecoveredTypes() |
Returns the recovered types modifying the mapping during the recovery
|
int |
run(Engine engine,
Translog.Snapshot snapshot) |
public Mapping mappingUpdate
public TranslogHandler(NamedXContentRegistry xContentRegistry, IndexSettings indexSettings)
public java.util.Map<java.lang.String,Mapping> getRecoveredTypes()
public int run(Engine engine, Translog.Snapshot snapshot) throws java.io.IOException
run
in interface EngineConfig.TranslogRecoveryRunner
java.io.IOException