Record Class ClusterConfigurationChangeOperation.PartitionChangeOperation.PartitionEnableExporterOperation
java.lang.Object
java.lang.Record
io.camunda.zeebe.dynamic.config.state.ClusterConfigurationChangeOperation.PartitionChangeOperation.PartitionEnableExporterOperation
- Record Components:
memberId- the member id of the member that will apply this operationpartitionId- id of the partition which enables the exporterexporterId- id of the exporter to enableinitializeFrom- id of the exporter to initialize the metadata from
- All Implemented Interfaces:
ClusterConfigurationChangeOperation,ClusterConfigurationChangeOperation.PartitionChangeOperation
- Enclosing interface:
ClusterConfigurationChangeOperation.PartitionChangeOperation
public static record ClusterConfigurationChangeOperation.PartitionChangeOperation.PartitionEnableExporterOperation(MemberId memberId, int partitionId, String exporterId, Optional<String> initializeFrom)
extends Record
implements ClusterConfigurationChangeOperation.PartitionChangeOperation
Operation to enable an exporter on a partition in the given member.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.camunda.zeebe.dynamic.config.state.ClusterConfigurationChangeOperation
ClusterConfigurationChangeOperation.MemberJoinOperation, ClusterConfigurationChangeOperation.MemberLeaveOperation, ClusterConfigurationChangeOperation.MemberRemoveOperation, ClusterConfigurationChangeOperation.PartitionChangeOperationNested classes/interfaces inherited from interface io.camunda.zeebe.dynamic.config.state.ClusterConfigurationChangeOperation.PartitionChangeOperation
ClusterConfigurationChangeOperation.PartitionChangeOperation.PartitionBootstrapOperation, ClusterConfigurationChangeOperation.PartitionChangeOperation.PartitionDisableExporterOperation, ClusterConfigurationChangeOperation.PartitionChangeOperation.PartitionEnableExporterOperation, ClusterConfigurationChangeOperation.PartitionChangeOperation.PartitionForceReconfigureOperation, ClusterConfigurationChangeOperation.PartitionChangeOperation.PartitionJoinOperation, ClusterConfigurationChangeOperation.PartitionChangeOperation.PartitionLeaveOperation, ClusterConfigurationChangeOperation.PartitionChangeOperation.PartitionReconfigurePriorityOperation -
Constructor Summary
ConstructorsConstructorDescriptionPartitionEnableExporterOperation(MemberId memberId, int partitionId, String exporterId, Optional<String> initializeFrom) Creates an instance of aPartitionEnableExporterOperationrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.Returns the value of theexporterIdrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of theinitializeFromrecord component.memberId()Returns the value of thememberIdrecord component.intReturns the value of thepartitionIdrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
PartitionEnableExporterOperation
public PartitionEnableExporterOperation(MemberId memberId, int partitionId, String exporterId, Optional<String> initializeFrom) Creates an instance of aPartitionEnableExporterOperationrecord class.- Parameters:
memberId- the value for thememberIdrecord componentpartitionId- the value for thepartitionIdrecord componentexporterId- the value for theexporterIdrecord componentinitializeFrom- the value for theinitializeFromrecord 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 '=='. -
memberId
Returns the value of thememberIdrecord component.- Specified by:
memberIdin interfaceClusterConfigurationChangeOperation- Returns:
- the value of the
memberIdrecord component
-
partitionId
public int partitionId()Returns the value of thepartitionIdrecord component.- Specified by:
partitionIdin interfaceClusterConfigurationChangeOperation.PartitionChangeOperation- Returns:
- the value of the
partitionIdrecord component
-
exporterId
Returns the value of theexporterIdrecord component.- Returns:
- the value of the
exporterIdrecord component
-
initializeFrom
Returns the value of theinitializeFromrecord component.- Returns:
- the value of the
initializeFromrecord component
-