org.elasticsearch.index.translog
Class TranslogStreams

java.lang.Object
  extended by org.elasticsearch.index.translog.TranslogStreams

public class TranslogStreams
extends Object


Constructor Summary
TranslogStreams()
           
 
Method Summary
static Translog.Source readSource(byte[] data)
           
static Translog.Operation readTranslogOperation(StreamInput in)
           
static void writeTranslogOperation(StreamOutput out, Translog.Operation op)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TranslogStreams

public TranslogStreams()
Method Detail

readTranslogOperation

public static Translog.Operation readTranslogOperation(StreamInput in)
                                                throws IOException
Throws:
IOException

readSource

public static Translog.Source readSource(byte[] data)
                                  throws IOException
Throws:
IOException

writeTranslogOperation

public static void writeTranslogOperation(StreamOutput out,
                                          Translog.Operation op)
                                   throws IOException
Throws:
IOException


Copyright © 2009-2012. All Rights Reserved.