Class ReplicationDomainDB.ReplicaDbFileContent

  • Enclosing interface:
    ReplicationDomainDB

    public static class ReplicationDomainDB.ReplicaDbFileContent
    extends Object
    Describes the content of a 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 file
        newestCsn - the newest CSN in the Replica DB file
        numberOfUpdates - the number of updates in the Replica DB file
        numberOfReplicaOfflineMessages - 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