primaryTerm
long primaryTerm()
Translog.Delete
, Translog.Index
, Translog.NoOp
public static interface Translog.Operation
Modifier and Type | Interface | Description |
---|---|---|
static class |
Translog.Operation.Type |
Modifier and Type | Method | 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
|
writeOperation(StreamOutput, Operation)
java.io.IOException
java.io.IOException