public class NodeAttributeMirrorOp extends FSNodeStoreLogOp<NodeAttributesManager>
| Constructor and Description |
|---|
NodeAttributeMirrorOp() |
| Modifier and Type | Method and Description |
|---|---|
int |
getOpCode() |
void |
recover(InputStream is,
NodeAttributesManager mgr)
Read and populate StoreOp.
|
void |
write(OutputStream os,
NodeAttributesManager mgr)
Write operation to persistent storage.
|
getNodeToAttributesMappublic void write(OutputStream os, NodeAttributesManager mgr) throws IOException
StoreOpos - write to be done tomgr - manager used by storeIOException - io error occur.public void recover(InputStream is, NodeAttributesManager mgr) throws IOException
StoreOpis - read to be done frommgr - manager used by storeIOException - io error occur.public int getOpCode()
getOpCode in class FSNodeStoreLogOp<NodeAttributesManager>Copyright © 2008–2024 Apache Software Foundation. All rights reserved.