public class DraftCNData extends com.sleepycat.je.DatabaseEntry
Constructor and Description |
---|
DraftCNData(long changeNumber,
byte[] data)
Creates a record to be stored in the DraftCNDB from the provided byte[].
|
DraftCNData(long changeNumber,
DN baseDN,
CSN csn)
Creates a record to be stored in the DraftCNDB.
|
Modifier and Type | Method and Description |
---|---|
ChangeNumberIndexRecord |
getRecord()
Getter for the decoded record.
|
String |
toString()
Provide a string representation of these data.
|
public DraftCNData(long changeNumber, DN baseDN, CSN csn)
changeNumber
- the change numberbaseDN
- The baseDN (domain DN)csn
- The replication CSNpublic DraftCNData(long changeNumber, byte[] data) throws ChangelogException
changeNumber
- the change numberdata
- the provided byte[]ChangelogException
- if a database problem occurredpublic ChangeNumberIndexRecord getRecord() throws ChangelogException
ChangeNumberIndexRecord
record.ChangelogException
- when a problem occurs.Copyright © 2010-2015 ForgeRock AS. All Rights Reserved.