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 Closeableclose in interface AutoCloseableIOExceptionpublic int readMarker(org.apache.hadoop.io.SequenceFile.Reader reader)
               throws IOException
IOExceptionpublic static void writeMarker(org.apache.hadoop.io.SequenceFile.Writer writer,
               int count)
                        throws IOException
IOExceptionCopyright © 2016 The Apache Software Foundation. All rights reserved.