public class TranslogHandler extends TranslogRecoveryPerformer
TranslogRecoveryPerformer.BatchOperationException
Modifier and Type | Field and Description |
---|---|
Mapping |
mappingUpdate |
java.util.concurrent.atomic.AtomicInteger |
recoveredOps |
Constructor and Description |
---|
TranslogHandler(NamedXContentRegistry xContentRegistry,
java.lang.String indexName,
org.apache.logging.log4j.Logger logger) |
Modifier and Type | Method and Description |
---|---|
protected DocumentMapperForType |
docMapper(java.lang.String type) |
protected void |
operationProcessed() |
delete, getRecoveredTypes, index, recoveryFromSnapshot
public Mapping mappingUpdate
public final java.util.concurrent.atomic.AtomicInteger recoveredOps
public TranslogHandler(NamedXContentRegistry xContentRegistry, java.lang.String indexName, org.apache.logging.log4j.Logger logger)
protected DocumentMapperForType docMapper(java.lang.String type)
docMapper
in class TranslogRecoveryPerformer
protected void operationProcessed()
operationProcessed
in class TranslogRecoveryPerformer