Class ChangeNumberIndexRecord
java.lang.Object
org.opends.server.replication.server.changelog.api.ChangeNumberIndexRecord
The Change Number Index Record class represents records stored in the
ChangeNumberIndexDB. It stores data
about a change that happened with the replication.-
Constructor Summary
ConstructorsConstructorDescriptionChangeNumberIndexRecord(long changeNumber, Dn baseDN, CSN csn) Builds an instance of this class.ChangeNumberIndexRecord(Dn baseDN, CSN csn) Builds an instance of this class, with changeNumber equal to 0. -
Method Summary
-
Constructor Details
-
ChangeNumberIndexRecord
Builds an instance of this class.- Parameters:
changeNumber- the change numberbaseDN- the baseDNcsn- the replication CSN field
-
ChangeNumberIndexRecord
Builds an instance of this class, with changeNumber equal to 0.- Parameters:
baseDN- the baseDNcsn- the replication CSN field- See Also:
-
-
Method Details
-
getBaseDN
Getter for the baseDN field.- Returns:
- the baseDN
-
getCSN
Getter for the replication CSN field.- Returns:
- The replication CSN field.
-
getChangeNumber
public long getChangeNumber()Getter for the change number field.- Returns:
- The change number field.
-
toString
-
toJson
Returns the json representation of this change number index record.- Returns:
- The json representation of this change number index record.
-