Uses of Interface
org.elasticsearch.index.translog.Translog.Operation
-
Packages that use Translog.Operation Package Description org.elasticsearch.action.resync org.elasticsearch.index.shard org.elasticsearch.index.translog org.elasticsearch.indices.recovery -
-
Uses of Translog.Operation in org.elasticsearch.action.resync
Methods in org.elasticsearch.action.resync that return Translog.Operation Modifier and Type Method Description Translog.Operation[]ResyncReplicationRequest. getOperations()Constructors in org.elasticsearch.action.resync with parameters of type Translog.Operation Constructor Description ResyncReplicationRequest(ShardId shardId, long trimAboveSeqNo, long maxSeenAutoIdTimestampOnPrimary, Translog.Operation[] operations) -
Uses of Translog.Operation in org.elasticsearch.index.shard
Methods in org.elasticsearch.index.shard with parameters of type Translog.Operation Modifier and Type Method Description Engine.ResultIndexShard. applyTranslogOperation(Translog.Operation operation, Engine.Operation.Origin origin) -
Uses of Translog.Operation in org.elasticsearch.index.translog
Classes in org.elasticsearch.index.translog that implement Translog.Operation Modifier and Type Class Description static classTranslog.Deletestatic classTranslog.Indexstatic classTranslog.NoOpMethods in org.elasticsearch.index.translog that return Translog.Operation Modifier and Type Method Description Translog.OperationTranslog.Snapshot. next()Returns the next operation in the snapshot ornullif we reached the end.protected Translog.OperationBaseTranslogReader. read(BufferedChecksumStreamInput inStream)static Translog.OperationTranslog.Operation. readOperation(StreamInput input)Reads the type and the operation from the given stream.Translog.OperationTranslog. readOperation(Translog.Location location)Reads and returns the operation from the given location if the generation it references is still available.Methods in org.elasticsearch.index.translog that return types with arguments of type Translog.Operation Modifier and Type Method Description static List<Translog.Operation>Translog. readOperations(StreamInput input, String source)Reads a list of operations written withTranslog.writeOperations(StreamOutput, List)Methods in org.elasticsearch.index.translog with parameters of type Translog.Operation Modifier and Type Method Description Translog.LocationTranslog. add(Translog.Operation operation)Adds an operation to the transaction log.static voidTranslog.Operation. writeOperation(StreamOutput output, Translog.Operation operation)Writes the type and translog operation to the given streamstatic voidTranslog. writeOperationNoSize(BufferedChecksumStreamOutput out, Translog.Operation op)Method parameters in org.elasticsearch.index.translog with type arguments of type Translog.Operation Modifier and Type Method Description static voidTranslog. writeOperations(StreamOutput outStream, List<Translog.Operation> toWrite)Writes all operations in the given iterable to the given output stream including the size of the array useTranslog.readOperations(StreamInput, String)to read it back. -
Uses of Translog.Operation in org.elasticsearch.indices.recovery
Methods in org.elasticsearch.indices.recovery that return types with arguments of type Translog.Operation Modifier and Type Method Description List<Translog.Operation>RecoveryTranslogOperationsRequest. operations()Method parameters in org.elasticsearch.indices.recovery with type arguments of type Translog.Operation Modifier and Type Method Description voidRecoveryTarget. indexTranslogOperations(List<Translog.Operation> operations, int totalTranslogOps, long maxSeenAutoIdTimestampOnPrimary, long maxSeqNoOfDeletesOrUpdatesOnPrimary, RetentionLeases retentionLeases, long mappingVersionOnPrimary, ActionListener<Long> listener)voidRecoveryTargetHandler. indexTranslogOperations(List<Translog.Operation> operations, int totalTranslogOps, long maxSeenAutoIdTimestampOnPrimary, long maxSeqNoOfUpdatesOrDeletesOnPrimary, RetentionLeases retentionLeases, long mappingVersionOnPrimary, ActionListener<Long> listener)Index a set of translog operations on the targetvoidRemoteRecoveryTargetHandler. indexTranslogOperations(List<Translog.Operation> operations, int totalTranslogOps, long maxSeenAutoIdTimestampOnPrimary, long maxSeqNoOfDeletesOrUpdatesOnPrimary, RetentionLeases retentionLeases, long mappingVersionOnPrimary, ActionListener<Long> listener)
-