Record Class ConsensusConfigChange
java.lang.Object
java.lang.Record
org.j7m.middleware.api.consensus.ConsensusConfigChange
- Record Components:
changeId- safe change idrequestedSet- requested member set
- All Implemented Interfaces:
Serializable
public record ConsensusConfigChange(String changeId, ConsensusMemberSet requestedSet)
extends Record
implements Serializable
Membership configuration change descriptor. Dynamic membership is deferred in Phase 6.5.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConsensusConfigChange(String changeId, ConsensusMemberSet requestedSet) Creates a configuration change descriptor. -
Method Summary
Modifier and TypeMethodDescriptionchangeId()Returns the value of thechangeIdrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of therequestedSetrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ConsensusConfigChange
Creates a configuration change descriptor.
-
-
Method Details
-
toString
-
hashCode
-
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). -
changeId
-
requestedSet
Returns the value of therequestedSetrecord component.- Returns:
- the value of the
requestedSetrecord component
-