Record Class FetchChangelogUpdatesControl.FetchChangelogUpdatesInfo
java.lang.Object
java.lang.Record
org.forgerock.opendj.server.leaderbasedreplication.FetchChangelogUpdatesControl.FetchChangelogUpdatesInfo
- Record Components:
generationId- the generationId of the replicaserverId- the serverId of the replicagroupId- the groupId of the replicareplicaState- the initial state of the replicareplicaScp- the stable consistency point of the replicareplicaPurgePoint- the starting point of the replicaisReplicaData- whether the requester is a data replica
- Enclosing class:
- FetchChangelogUpdatesControl
public static record FetchChangelogUpdatesControl.FetchChangelogUpdatesInfo(GenerationId generationId, ReplicaId serverId, GroupId groupId, ReplicaState replicaState, CSN replicaScp, CSN replicaPurgePoint, boolean isReplicaData)
extends Record
The ReplicationRequestInfo object containing the returned information of the replication request control.
-
Constructor Summary
ConstructorsConstructorDescriptionFetchChangelogUpdatesInfo(GenerationId generationId, ReplicaId serverId, GroupId groupId, ReplicaState replicaState, CSN replicaScp, CSN replicaPurgePoint, boolean isReplicaData) Creates an instance of aFetchChangelogUpdatesInforecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.Returns the value of thegenerationIdrecord component.groupId()Returns the value of thegroupIdrecord component.final inthashCode()Returns a hash code value for this object.booleanReturns the value of theisReplicaDatarecord component.Returns the value of thereplicaPurgePointrecord component.Returns the value of thereplicaScprecord component.Returns the value of thereplicaStaterecord component.serverId()Returns the value of theserverIdrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
FetchChangelogUpdatesInfo
public FetchChangelogUpdatesInfo(GenerationId generationId, ReplicaId serverId, GroupId groupId, ReplicaState replicaState, CSN replicaScp, CSN replicaPurgePoint, boolean isReplicaData) Creates an instance of aFetchChangelogUpdatesInforecord class.- Parameters:
generationId- the value for thegenerationIdrecord componentserverId- the value for theserverIdrecord componentgroupId- the value for thegroupIdrecord componentreplicaState- the value for thereplicaStaterecord componentreplicaScp- the value for thereplicaScprecord componentreplicaPurgePoint- the value for thereplicaPurgePointrecord componentisReplicaData- the value for theisReplicaDatarecord 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
generationId
Returns the value of thegenerationIdrecord component.- Returns:
- the value of the
generationIdrecord component
-
serverId
Returns the value of theserverIdrecord component.- Returns:
- the value of the
serverIdrecord component
-
groupId
Returns the value of thegroupIdrecord component.- Returns:
- the value of the
groupIdrecord component
-
replicaState
Returns the value of thereplicaStaterecord component.- Returns:
- the value of the
replicaStaterecord component
-
replicaScp
Returns the value of thereplicaScprecord component.- Returns:
- the value of the
replicaScprecord component
-
replicaPurgePoint
Returns the value of thereplicaPurgePointrecord component.- Returns:
- the value of the
replicaPurgePointrecord component
-
isReplicaData
public boolean isReplicaData()Returns the value of theisReplicaDatarecord component.- Returns:
- the value of the
isReplicaDatarecord component
-