public static class TcpStorageRequest.ReadRequest extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
CSIZE |
| Constructor and Description |
|---|
ReadRequest() |
ReadRequest(int key,
long address,
int length) |
| Modifier and Type | Method and Description |
|---|---|
long |
getAddress() |
int |
getKey() |
int |
length() |
int |
size() |
void |
update(ByteBuffer buffer) |
int |
write(ByteBuffer buffer) |
public static final int CSIZE
public ReadRequest()
public ReadRequest(int key,
long address,
int length)
public long getAddress()
public int length()
public int getKey()
public int size()
public void update(ByteBuffer buffer) throws IOException
IOExceptionpublic int write(ByteBuffer buffer) throws IOException
IOExceptionCopyright © 2018 The Apache Software Foundation. All rights reserved.