public static class RpcRequestMessage.SetFileReq extends Object implements RpcProtocol.NameNodeRpcMessage
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
close |
static int |
CSIZE |
protected FileInfo |
fileInfo |
| Constructor and Description |
|---|
SetFileReq() |
SetFileReq(FileInfo fileInfo,
boolean close) |
| Modifier and Type | Method and Description |
|---|---|
FileInfo |
getFileInfo() |
short |
getType() |
boolean |
isClose() |
int |
size() |
String |
toString() |
void |
update(ByteBuffer buffer) |
int |
write(ByteBuffer buffer) |
public static int CSIZE
protected FileInfo fileInfo
protected boolean close
public SetFileReq()
public SetFileReq(FileInfo fileInfo, boolean close)
public FileInfo getFileInfo()
public boolean isClose()
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.