public class TranslogHandler extends java.lang.Object implements EngineConfig.TranslogRecoveryRunner
Modifier and Type | Field and Description |
---|---|
Mapping |
mappingUpdate |
Constructor and Description |
---|
TranslogHandler(NamedXContentRegistry xContentRegistry,
IndexSettings indexSettings) |
Modifier and Type | Method and 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