public static class RpcRequestMessage.CreateFileReq extends Object implements RpcProtocol.NameNodeRpcMessage
| Modifier and Type | Field and Description |
|---|---|
static int |
CSIZE |
protected boolean |
enumerable |
protected FileName |
filename |
protected int |
locationClass |
protected int |
storageClass |
protected CrailNodeType |
type |
| Constructor and Description |
|---|
CreateFileReq() |
CreateFileReq(FileName filename,
CrailNodeType type,
int storageClass,
int locationClass,
boolean enumerable) |
| Modifier and Type | Method and Description |
|---|---|
FileName |
getFileName() |
CrailNodeType |
getFileType() |
int |
getLocationClass() |
int |
getStorageClass() |
short |
getType() |
boolean |
isEnumerable() |
int |
size() |
String |
toString() |
void |
update(ByteBuffer buffer) |
int |
write(ByteBuffer buffer) |
public static int CSIZE
protected FileName filename
protected CrailNodeType type
protected int storageClass
protected int locationClass
protected boolean enumerable
public CreateFileReq()
public CreateFileReq(FileName filename, CrailNodeType type, int storageClass, int locationClass, boolean enumerable)
public FileName getFileName()
public CrailNodeType getFileType()
public int getStorageClass()
public int getLocationClass()
public boolean isEnumerable()
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.