public static class RpcRequestMessage.GetBlockReq extends Object implements RpcProtocol.NameNodeRpcMessage
| Modifier and Type | Field and Description |
|---|---|
protected long |
capacity |
static int |
CSIZE |
protected long |
fd |
protected long |
position |
protected long |
token |
| Constructor and Description |
|---|
GetBlockReq() |
GetBlockReq(long fd,
long token,
long position,
long capacity) |
| Modifier and Type | Method and Description |
|---|---|
long |
getCapacity() |
long |
getFd() |
long |
getPosition() |
long |
getToken() |
short |
getType() |
void |
setToken(long value) |
int |
size() |
String |
toString() |
void |
update(ByteBuffer buffer) |
int |
write(ByteBuffer buffer) |
public static int CSIZE
protected long fd
protected long token
protected long position
protected long capacity
public GetBlockReq()
public GetBlockReq(long fd,
long token,
long position,
long capacity)
public long getFd()
public long getPosition()
public long getToken()
public long getCapacity()
public int size()
public short getType()
getType in interface RpcProtocol.NameNodeRpcMessagepublic int write(ByteBuffer buffer)
public void update(ByteBuffer buffer)
public void setToken(long value)
Copyright © 2018 The Apache Software Foundation. All rights reserved.