public static class RpcRequestMessage.GetLocationReq extends Object implements RpcProtocol.NameNodeRpcMessage
| Modifier and Type | Field and Description |
|---|---|
static int |
CSIZE |
protected FileName |
fileName |
protected long |
position |
| Constructor and Description |
|---|
GetLocationReq() |
GetLocationReq(FileName fileName,
long position) |
| Modifier and Type | Method and Description |
|---|---|
FileName |
getFileName() |
long |
getPosition() |
short |
getType() |
int |
size() |
void |
update(ByteBuffer buffer) |
int |
write(ByteBuffer buffer) |
public static int CSIZE
protected FileName fileName
protected long position
public GetLocationReq()
public GetLocationReq(FileName fileName, long position)
public long getPosition()
public FileName getFileName()
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.