public static interface Translog.Operation
Modifier and Type | Interface and Description |
---|---|
static class |
Translog.Operation.Type |
Modifier and Type | Method and Description |
---|---|
long |
estimateSize() |
Translog.Source |
getSource() |
Translog.Operation.Type |
opType() |
long |
primaryTerm() |
static Translog.Operation |
readOperation(StreamInput input)
Reads the type and the operation from the given stream.
|
long |
seqNo() |
static void |
writeOperation(StreamOutput output,
Translog.Operation operation)
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 readOperation(StreamInput input) throws java.io.IOException
Operation#writeOperation(StreamOutput, Operation)
java.io.IOException
static void writeOperation(StreamOutput output, Translog.Operation operation) throws java.io.IOException
java.io.IOException