public class CommitMarkerCodec extends Object implements Closeable
HDFSTransactionLogReaderV2
and above.Constructor and Description |
---|
CommitMarkerCodec() |
Modifier and Type | Method and Description |
---|---|
void |
close() |
int |
readMarker(org.apache.hadoop.io.SequenceFile.Reader reader) |
static void |
writeMarker(org.apache.hadoop.io.SequenceFile.Writer writer,
int count) |
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException
public int readMarker(org.apache.hadoop.io.SequenceFile.Reader reader) throws IOException
IOException
public static void writeMarker(org.apache.hadoop.io.SequenceFile.Writer writer, int count) throws IOException
IOException
Copyright © 2016 The Apache Software Foundation. All rights reserved.