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.


Nested Class Summary
static class Translog.Operation.Type
           
 
Method Summary
 long estimateSize()
           
 Translog.Operation.Type opType()
           
 Translog.Source readSource(StreamInput in)
           
 
Methods inherited from interface org.elasticsearch.common.io.stream.Streamable
readFrom, writeTo
 

Method Detail

opType

Translog.Operation.Type opType()

estimateSize

long estimateSize()

readSource

Translog.Source readSource(StreamInput in)
                           throws IOException
Throws:
IOException


Copyright © 2009-2012. All Rights Reserved.