com.sleepycat.je.dbi
Class Operation

java.lang.Object
  extended by com.sleepycat.je.dbi.Operation

public class Operation
extends 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.


Field Summary
static Operation NO_OVERWRITE
           
static Operation PLACEHOLDER
           
static Operation PUT
           
 
Constructor Summary
Operation()
           
 
Method Summary
 int getContentSize()
           
static Operation readFromBuffer(ByteBuffer buffer)
           
 String toString()
           
 void writeToBuffer(ByteBuffer buffer)
          Serialize this object into the buffer.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

PUT

public static final Operation PUT

NO_OVERWRITE

public static final Operation NO_OVERWRITE

PLACEHOLDER

public static final Operation PLACEHOLDER
Constructor Detail

Operation

public Operation()
Method Detail

getContentSize

public int getContentSize()

writeToBuffer

public void writeToBuffer(ByteBuffer buffer)
Serialize this object into the buffer.

Parameters:
buffer - is the destination buffer

readFromBuffer

public static Operation readFromBuffer(ByteBuffer buffer)

toString

public String toString()
Overrides:
toString in class Object


Copyright (c) 2004-2012 Oracle. All rights reserved.