public static class FSEditLogOp.Writer extends Object
| Constructor and Description |
|---|
Writer(org.apache.hadoop.io.DataOutputBuffer out) |
| Modifier and Type | Method and Description |
|---|---|
void |
writeOp(org.apache.hadoop.hdfs.server.namenode.FSEditLogOp op,
int logVersion)
Write an operation to the output stream
|
public void writeOp(org.apache.hadoop.hdfs.server.namenode.FSEditLogOp op,
int logVersion)
throws IOException
op - The operation to writelogVersion - The version of edit logIOException - if an error occurs during writing.Copyright © 2008–2022 Apache Software Foundation. All rights reserved.