- All Known Implementing Classes:
Translog.Delete
, Translog.Index
, Translog.NoOp
- Enclosing class:
- Translog
public static interface Translog.Operation
A generic interface representing an operation performed on the transaction log.
Each is associated with a type.
-
Nested Class Summary
Nested Classes
-
Method Summary
long
long
Reads the type and the operation from the given stream.
long
static void
Writes the type and translog operation to the given stream
-
Method Details
-
-
estimateSize
long estimateSize()
-
-
-
primaryTerm
long primaryTerm()
-
-
writeOperation
Writes the type and translog operation to the given stream
- Throws:
IOException