Class ReplicationEnvironment.DomainState

  • Enclosing class:
    ReplicationEnvironment

    public static final class ReplicationEnvironment.DomainState
    extends Object
    This class represents the content of the domains state file.
    • Constructor Detail

      • DomainState

        public DomainState​(Dn domainDn,
                           String domainId,
                           ServerState lastUpdates,
                           ServerState lastMsgs)
        Create a new domain state.
        Parameters:
        domainDn - DN of the domain base entry
        domainId - domain identifier
        lastUpdates - the state containing the CSNs of the last LDAPUpdateMsg
        lastMsgs - the state containing the CSNs of the last UpdateMsg
    • Method Detail

      • domainDn

        public Dn domainDn()
        Returns the domain DN.
        Returns:
        the domain DN
      • domainId

        public String domainId()
        Returns the domain identifier.
        Returns:
        the domain identifier
      • lastUpdates

        public ServerState lastUpdates()
        Returns the state containing the CSNs of the last LDAPUpdateMsg.
        Returns:
        the state containing the CSNs of the last LDAPUpdateMsg
      • lastMsgs

        public ServerState lastMsgs()
        Returns the state containing the CSNs of the last UpdateMsg.
        Returns:
        the state containing the CSNs of the last UpdateMsg
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object