|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sleepycat.je.DatabaseEntry
org.opends.server.replication.server.ReplicationData
public class ReplicationData
SuperClass of DatabaseEntry used for data stored in the ReplicationServer Databases.
Field Summary |
---|
Fields inherited from class com.sleepycat.je.DatabaseEntry |
---|
MAX_DUMP_BYTES |
Constructor Summary | |
---|---|
ReplicationData(UpdateMessage change)
Creates a new ReplicationData object from an UpdateMessage. |
Method Summary | |
---|---|
static UpdateMessage |
generateChange(byte[] data)
Generate an UpdateMessage from its byte[] form. |
Methods inherited from class com.sleepycat.je.DatabaseEntry |
---|
equals, getData, getOffset, getPartial, getPartialLength, getPartialOffset, getSize, hashCode, setData, setData, setOffset, setPartial, setPartial, setPartialLength, setPartialOffset, setSize, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ReplicationData(UpdateMessage change) throws java.io.UnsupportedEncodingException
change
- the UpdateMessage used to create the ReplicationData.
java.io.UnsupportedEncodingException
- When the encoding of the message
failed because the UTF-8 encoding is not supported.Method Detail |
---|
public static UpdateMessage generateChange(byte[] data) throws java.lang.Exception
data
- The DatabaseEntry used to generate the UpdateMessage.
java.lang.Exception
- When the data was not a valid Update Message.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |