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