Record Class DevConsoleMetricsCollector.GroupMetadata
java.lang.Object
java.lang.Record
org.apache.camel.component.kafka.consumer.devconsole.DevConsoleMetricsCollector.GroupMetadata
- Enclosing interface:
DevConsoleMetricsCollector
-
Constructor Summary
ConstructorsConstructorDescriptionGroupMetadata(String groupId, String groupInstanceId, String memberId, int generationId) Creates an instance of aGroupMetadatarecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.intReturns the value of thegenerationIdrecord component.groupId()Returns the value of thegroupIdrecord component.Returns the value of thegroupInstanceIdrecord component.final inthashCode()Returns a hash code value for this object.memberId()Returns the value of thememberIdrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
GroupMetadata
Creates an instance of aGroupMetadatarecord class.- Parameters:
groupId- the value for thegroupIdrecord componentgroupInstanceId- the value for thegroupInstanceIdrecord componentmemberId- the value for thememberIdrecord componentgenerationId- the value for thegenerationIdrecord 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 '=='. -
groupId
Returns the value of thegroupIdrecord component.- Returns:
- the value of the
groupIdrecord component
-
groupInstanceId
Returns the value of thegroupInstanceIdrecord component.- Returns:
- the value of the
groupInstanceIdrecord component
-
memberId
Returns the value of thememberIdrecord component.- Returns:
- the value of the
memberIdrecord component
-
generationId
public int generationId()Returns the value of thegenerationIdrecord component.- Returns:
- the value of the
generationIdrecord component
-