Package | Description |
---|---|
org.elasticsearch.index.shard | |
org.elasticsearch.index.translog | |
org.elasticsearch.index.translog.fs |
Modifier and Type | Method and Description |
---|---|
Engine.IndexingOperation |
IndexShard.performRecoveryOperation(Translog.Operation operation)
Performs a single recovery operation, and returns the indexing operation (or null if its not an indexing operation)
that can then be used for mapping updates (for example) if needed.
|
Modifier and Type | Class and Description |
---|---|
static class |
Translog.Create |
static class |
Translog.Delete |
static class |
Translog.DeleteByQuery |
static class |
Translog.Index |
Modifier and Type | Method and Description |
---|---|
Translog.Operation |
Translog.Snapshot.next()
Returns the next operation, or null when no more operations are found
|
Translog.Operation |
TranslogStream.read(StreamInput in)
Read the next translog operation from the input stream
|
Translog.Operation |
LegacyTranslogStream.read(StreamInput in) |
Translog.Operation |
ChecksummedTranslogStream.read(StreamInput inStream) |
Translog.Operation |
Translog.read(Translog.Location location) |
static Translog.Operation |
TranslogStreams.readTranslogOperation(StreamInput in)
Read the next
Translog.Operation from the stream using the
latest translog version |
Modifier and Type | Method and Description |
---|---|
Translog.Location |
Translog.add(Translog.Operation operation)
Adds a create operation to the transaction log.
|
void |
TranslogStream.write(StreamOutput out,
Translog.Operation op)
Write the given translog operation to the output stream
|
void |
LegacyTranslogStream.write(StreamOutput out,
Translog.Operation op) |
void |
ChecksummedTranslogStream.write(StreamOutput outStream,
Translog.Operation op) |
static void |
TranslogStreams.writeTranslogOperation(StreamOutput out,
Translog.Operation op)
Write the
Translog.Operation to the output stream using the
latest translog version |
Modifier and Type | Method and Description |
---|---|
Translog.Operation |
FsChannelSnapshot.next() |
Translog.Operation |
FsTranslog.read(Translog.Location location)
Read the Operation object from the given location, returns null if the
Operation could not be read.
|
Modifier and Type | Method and Description |
---|---|
Translog.Location |
FsTranslog.add(Translog.Operation operation) |
Copyright © 2009–2015. All rights reserved.