示例#1
0
 /** Write the {@link Translog.Operation} to the output stream using the latest translog version */
 public static void writeTranslogOperation(StreamOutput out, Translog.Operation op)
     throws IOException {
   LATEST.write(out, op);
 }
示例#2
0
 /** Read the next {@link Translog.Operation} from the stream using the latest translog version */
 public static Translog.Operation readTranslogOperation(StreamInput in) throws IOException {
   return LATEST.read(in);
 }