| Package | Description |
|---|---|
| org.elasticsearch.index.shard | |
| org.elasticsearch.index.translog | |
| org.elasticsearch.indices.recovery |
| Modifier and Type | Method and Description |
|---|---|
void |
TranslogRecoveryPerformer.performRecoveryOperation(Engine engine,
Translog.Operation operation,
boolean allowMappingUpdates)
Performs a single recovery operation.
|
| Modifier and Type | Method and Description |
|---|---|
int |
IndexShard.performBatchRecovery(Iterable<Translog.Operation> operations)
Applies all operations in the iterable to the current engine and returns the number of operations applied.
|
| Modifier and Type | Class and Description |
|---|---|
static class |
Translog.Create |
static class |
Translog.Delete |
static class |
Translog.DeleteByQuery
Deprecated.
Delete-by-query is removed in 2.0, but we keep this so translog can replay on upgrade.
|
static class |
Translog.Index |
| Modifier and Type | Method and Description |
|---|---|
Translog.Operation |
Translog.Snapshot.next()
Returns the next operation in the snapshot or
null if we reached the end. |
protected Translog.Operation |
LegacyTranslogReader.read(BufferedChecksumStreamInput in)
Deprecated.
|
protected Translog.Operation |
TranslogReader.read(BufferedChecksumStreamInput inStream) |
Translog.Operation |
Translog.read(Translog.Location location)
Read the Operation object from the given location.
|
Translog.Operation |
TranslogReader.read(Translog.Location location) |
| Modifier and Type | Method and Description |
|---|---|
static List<Translog.Operation> |
Translog.readOperations(StreamInput input)
Reads a list of operations written with
Translog.writeOperations(StreamOutput, List) |
| Modifier and Type | Method and Description |
|---|---|
Translog.Location |
Translog.add(Translog.Operation operation)
Adds a created / delete / index operations to the transaction log.
|
static void |
Translog.writeOperationNoSize(BufferedChecksumStreamOutput out,
Translog.Operation op) |
| Modifier and Type | Method and Description |
|---|---|
static void |
Translog.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
use
Translog.readOperations(StreamInput) to read it back. |
| Modifier and Type | Method and Description |
|---|---|
List<Translog.Operation> |
RecoveryTranslogOperationsRequest.operations() |
Copyright © 2009–2017. All rights reserved.