public static class RpcRequestMessage.GetDataNodeReq extends Object implements RpcProtocol.NameNodeRpcMessage
| Modifier and Type | Field and Description |
|---|---|
static int |
CSIZE |
protected DataNodeInfo |
dnInfo |
| Constructor and Description |
|---|
GetDataNodeReq() |
GetDataNodeReq(DataNodeInfo dnInfo) |
| Modifier and Type | Method and Description |
|---|---|
DataNodeInfo |
getInfo() |
short |
getType() |
int |
size() |
void |
update(ByteBuffer buffer) |
int |
write(ByteBuffer buffer) |
public static int CSIZE
protected DataNodeInfo dnInfo
public GetDataNodeReq()
public GetDataNodeReq(DataNodeInfo dnInfo)
public DataNodeInfo getInfo()
public int size()
public short getType()
getType in interface RpcProtocol.NameNodeRpcMessagepublic int write(ByteBuffer buffer)
public void update(ByteBuffer buffer)
Copyright © 2018 The Apache Software Foundation. All rights reserved.