Class ReplicationDomainDB.ReplicaDbFileContent
- java.lang.Object
-
- org.opends.server.replication.server.changelog.api.ReplicationDomainDB.ReplicaDbFileContent
-
- Enclosing interface:
- ReplicationDomainDB
public static class ReplicationDomainDB.ReplicaDbFileContent extends Object
Describes the content of a Replica DB file.
-
-
Constructor Summary
Constructors Constructor Description ReplicaDbFileContent(CSN oldestCsn, CSN newestCsn, int numberOfUpdates, int numberOfReplicaOfflineMessages)
Constructs a new ReplicaDbFileContent with the specified parameters.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CSN
getNewestCsn()
Returns the newest CSN in the Replica DB file.int
getNumberOfReplicaOfflineMessages()
Returns the number of offline replica messages in the Replica DB file.int
getNumberOfUpdates()
Returns the number of updates in the Replica DB file.CSN
getOldestCsn()
Returns the oldest CSN in the Replica DB file.
-
-
-
Constructor Detail
-
ReplicaDbFileContent
public ReplicaDbFileContent(CSN oldestCsn, CSN newestCsn, int numberOfUpdates, int numberOfReplicaOfflineMessages)
Constructs a new ReplicaDbFileContent with the specified parameters.- Parameters:
oldestCsn
- the oldest CSN in the Replica DB filenewestCsn
- the newest CSN in the Replica DB filenumberOfUpdates
- the number of updates in the Replica DB filenumberOfReplicaOfflineMessages
- the number of offline replica messages in the Replica DB file
-
-
Method Detail
-
getOldestCsn
public CSN getOldestCsn()
Returns the oldest CSN in the Replica DB file.- Returns:
- the oldest CSN
-
getNewestCsn
public CSN getNewestCsn()
Returns the newest CSN in the Replica DB file.- Returns:
- the newest CSN
-
getNumberOfUpdates
public int getNumberOfUpdates()
Returns the number of updates in the Replica DB file.- Returns:
- the number of updates
-
getNumberOfReplicaOfflineMessages
public int getNumberOfReplicaOfflineMessages()
Returns the number of offline replica messages in the Replica DB file.- Returns:
- the number of offline replica messages
-
-