Record Class ReplicationEnvironment.DomainState
java.lang.Object
java.lang.Record
org.opends.server.replication.server.changelog.file.ReplicationEnvironment.DomainState
- Record Components:
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
- Enclosing class:
- ReplicationEnvironment
public static record ReplicationEnvironment.DomainState(Dn domainDn, String domainId, ServerState lastUpdates, ServerState lastMsgs)
extends Record
This record represents the content of the domains state file.
-
Constructor Summary
ConstructorsConstructorDescriptionDomainState(Dn domainDn, String domainId, ServerState lastUpdates, ServerState lastMsgs) Creates an instance of aDomainStaterecord class. -
Method Summary
Modifier and TypeMethodDescriptiondomainDn()Returns the value of thedomainDnrecord component.domainId()Returns the value of thedomainIdrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.lastMsgs()Returns the value of thelastMsgsrecord component.Returns the value of thelastUpdatesrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
DomainState
Creates an instance of aDomainStaterecord class.- Parameters:
domainDn- the value for thedomainDnrecord componentdomainId- the value for thedomainIdrecord componentlastUpdates- the value for thelastUpdatesrecord componentlastMsgs- the value for thelastMsgsrecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
domainDn
Returns the value of thedomainDnrecord component.- Returns:
- the value of the
domainDnrecord component
-
domainId
Returns the value of thedomainIdrecord component.- Returns:
- the value of the
domainIdrecord component
-
lastUpdates
Returns the value of thelastUpdatesrecord component.- Returns:
- the value of the
lastUpdatesrecord component
-
lastMsgs
Returns the value of thelastMsgsrecord component.- Returns:
- the value of the
lastMsgsrecord component
-