Class ReplicationEnvironment.DomainState
- java.lang.Object
-
- org.opends.server.replication.server.changelog.file.ReplicationEnvironment.DomainState
-
- Enclosing class:
- ReplicationEnvironment
public static final class ReplicationEnvironment.DomainState extends Object
This class represents the content of the domains state file.
-
-
Constructor Summary
Constructors Constructor Description DomainState(Dn domainDn, String domainId, ServerState lastUpdates, ServerState lastMsgs)
Create a new domain state.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Dn
domainDn()
Returns the domain DN.String
domainId()
Returns the domain identifier.boolean
equals(Object obj)
int
hashCode()
ServerState
lastMsgs()
Returns the state containing the CSNs of the last UpdateMsg.ServerState
lastUpdates()
Returns the state containing the CSNs of the last LDAPUpdateMsg.
-
-
-
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 entrydomainId
- domain identifierlastUpdates
- the state containing the CSNs of the last LDAPUpdateMsglastMsgs
- 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
-
-