public static class RpcRequestMessage.SetBlockReq extends Object implements RpcProtocol.NameNodeRpcMessage
| Modifier and Type | Field and Description |
|---|---|
protected BlockInfo |
blockInfo |
static int |
CSIZE |
| Constructor and Description |
|---|
SetBlockReq() |
SetBlockReq(BlockInfo blockInfo) |
| Modifier and Type | Method and Description |
|---|---|
BlockInfo |
getBlockInfo() |
short |
getType() |
int |
size() |
String |
toString() |
void |
update(ByteBuffer buffer) |
int |
write(ByteBuffer buffer) |
public static int CSIZE
protected BlockInfo blockInfo
public SetBlockReq()
public SetBlockReq(BlockInfo blockInfo)
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.