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