Record Class KafkaStreamsRuntimeState.TaskSummary
java.lang.Object
java.lang.Record
io.micronaut.controlpanel.panels.kafka.KafkaStreamsRuntimeState.TaskSummary
- Record Components:
taskId- task identifierpartitions- task partitions reported by Healthavailable- whether task details are presentpartitionCount- number of reported partitions
- Enclosing class:
KafkaStreamsRuntimeState
-
Constructor Summary
ConstructorsConstructorDescriptionTaskSummary(String taskId, List<String> partitions, boolean available, int partitionCount) Creates an instance of aTaskSummaryrecord class. -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the value of theavailablerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intReturns the value of thepartitionCountrecord component.Returns the value of thepartitionsrecord component.taskId()Returns the value of thetaskIdrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
TaskSummary
Creates an instance of aTaskSummaryrecord class.- Parameters:
taskId- the value for thetaskIdrecord componentpartitions- the value for thepartitionsrecord componentavailable- the value for theavailablerecord componentpartitionCount- the value for thepartitionCountrecord component
-
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
taskId
-
partitions
Returns the value of thepartitionsrecord component.- Returns:
- the value of the
partitionsrecord component
-
available
-
partitionCount
public int partitionCount()Returns the value of thepartitionCountrecord component.- Returns:
- the value of the
partitionCountrecord component
-