StoreOp<java.io.OutputStream,java.io.InputStream,NodeAttributesManager>public class RemoveNodeToAttributeLogOp extends FSNodeStoreLogOp<NodeAttributesManager>
| Modifier and Type | Field | Description |
|---|---|---|
static int |
OPCODE |
| Constructor | Description |
|---|---|
RemoveNodeToAttributeLogOp() |
| Modifier and Type | Method | Description |
|---|---|---|
int |
getOpCode() |
|
void |
recover(java.io.InputStream is,
NodeAttributesManager mgr) |
Read and populate StoreOp.
|
RemoveNodeToAttributeLogOp |
setAttributes(java.util.List<org.apache.hadoop.yarn.server.api.protocolrecords.NodeToAttributes> attrs) |
|
void |
write(java.io.OutputStream os,
NodeAttributesManager mgr) |
Write operation to persistent storage.
|
getNodeToAttributesMappublic static final int OPCODE
public void write(java.io.OutputStream os,
NodeAttributesManager mgr)
throws java.io.IOException
StoreOpos - write to be done tomgr - manager used by storejava.io.IOException - io error occur.public void recover(java.io.InputStream is,
NodeAttributesManager mgr)
throws java.io.IOException
StoreOpis - read to be done frommgr - manager used by storejava.io.IOException - io error occur.public RemoveNodeToAttributeLogOp setAttributes(java.util.List<org.apache.hadoop.yarn.server.api.protocolrecords.NodeToAttributes> attrs)
public int getOpCode()
getOpCode in class FSNodeStoreLogOp<NodeAttributesManager>Copyright © 2008–2025 Apache Software Foundation. All rights reserved.