public static class RpcRequestMessage.RenameFileReq extends Object implements RpcProtocol.NameNodeRpcMessage
| Modifier and Type | Field and Description |
|---|---|
static int |
CSIZE |
protected FileName |
dstFileName |
protected FileName |
srcFileName |
| Constructor and Description |
|---|
RenameFileReq() |
RenameFileReq(FileName srcFileName,
FileName dstFileName) |
| Modifier and Type | Method and Description |
|---|---|
FileName |
getDstFileName() |
FileName |
getSrcFileName() |
short |
getType() |
int |
size() |
String |
toString() |
void |
update(ByteBuffer buffer) |
int |
write(ByteBuffer buffer) |
public static int CSIZE
protected FileName srcFileName
protected FileName dstFileName
public FileName getSrcFileName()
public FileName getDstFileName()
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.