public class Operation
extends java.lang.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(java.nio.ByteBuffer buffer) |
java.lang.String |
toString() |
void |
writeToBuffer(java.nio.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(java.nio.ByteBuffer buffer)
buffer
- is the destination bufferpublic static Operation readFromBuffer(java.nio.ByteBuffer buffer)
public java.lang.String toString()
toString
in class java.lang.Object
Copyright (c) 2004-2012 Oracle. All rights reserved.