public static interface Translog.Operation extends Writeable
Modifier and Type | Interface and Description |
---|---|
static class |
Translog.Operation.Type |
Writeable.Reader<V>, Writeable.Writer<V>
Modifier and Type | Method and Description |
---|---|
long |
estimateSize() |
Translog.Source |
getSource() |
Translog.Operation.Type |
opType() |
long |
primaryTerm() |
static Translog.Operation |
readType(StreamInput input)
Reads the type and the operation from the given stream.
|
long |
seqNo() |
static void |
writeType(Translog.Operation operation,
StreamOutput output)
Writes the type and translog operation to the given stream
|
Translog.Operation.Type opType()
long estimateSize()
Translog.Source getSource()
long seqNo()
long primaryTerm()
static Translog.Operation readType(StreamInput input) throws java.io.IOException
Operation#writeType(Operation, StreamOutput)
java.io.IOException
static void writeType(Translog.Operation operation, StreamOutput output) throws java.io.IOException
java.io.IOException