org.elasticsearch.index.translog
Interface Translog.Operation
- All Superinterfaces:
- Streamable
- All Known Implementing Classes:
- Translog.Create, Translog.Delete, Translog.DeleteByQuery, Translog.Index
- Enclosing interface:
- Translog
public static interface Translog.Operation
- extends Streamable
A generic interface representing an operation performed on the transaction log.
Each is associated with a type.
opType
Translog.Operation.Type opType()
estimateSize
long estimateSize()
readSource
Translog.Source readSource(StreamInput in)
throws IOException
- Throws:
IOException
Copyright © 2009-2012. All Rights Reserved.