com.sleepycat.je.dbi
Class Operation
java.lang.Object
com.sleepycat.je.dbi.Operation
public class Operation
- extends java.lang.Object
An enumeration of different api call sources for replication, currently for
debugging. This is also intended to support the future possibility of
providing application level visibility into the replication operation
stream.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
PUT
public static final Operation PUT
NO_OVERWRITE
public static final Operation NO_OVERWRITE
PLACEHOLDER
public static final Operation PLACEHOLDER
Operation
public Operation()
getContentSize
public int getContentSize()
writeToBuffer
public void writeToBuffer(java.nio.ByteBuffer buffer)
- Serialize this object into the buffer.
- Parameters:
buffer
- is the destination buffer
readFromBuffer
public static Operation readFromBuffer(java.nio.ByteBuffer buffer)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object