public class Operation extends Object
| Modifier and Type | Field and Description |
|---|---|
static Operation |
NO_OVERWRITE |
static Operation |
PLACEHOLDER |
static Operation |
PUT |
| Constructor and Description |
|---|
Operation() |
| Modifier and Type | Method and Description |
|---|---|
int |
getContentSize() |
static Operation |
readFromBuffer(ByteBuffer buffer) |
String |
toString() |
void |
writeToBuffer(ByteBuffer buffer)
Serialize this object into the buffer.
|
public static final Operation PUT
public static final Operation NO_OVERWRITE
public static final Operation PLACEHOLDER
public int getContentSize()
public void writeToBuffer(ByteBuffer buffer)
buffer - is the destination bufferpublic static Operation readFromBuffer(ByteBuffer buffer)
Copyright © 2024. All rights reserved.