Record Class KafkaStreamsControlPanel.Body
java.lang.Object
java.lang.Record
io.micronaut.controlpanel.panels.kafka.KafkaStreamsControlPanel.Body
- Record Components:
mermaid- Mermaid diagram for the topologysubTopologies- count of sub-topologiesruntimeState- Kafka Streams runtime state exposed through Micronaut Health
- Enclosing class:
KafkaStreamsControlPanel
public static record KafkaStreamsControlPanel.Body(String mermaid, int subTopologies, KafkaStreamsRuntimeState runtimeState)
extends Record
Payload for the Kafka Streams panel rendering.
-
Constructor Summary
ConstructorsConstructorDescriptionBody(String mermaid, int subTopologies, KafkaStreamsRuntimeState runtimeState) Creates an instance of aBodyrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.mermaid()Returns the value of themermaidrecord component.Returns the value of theruntimeStaterecord component.intReturns the value of thesubTopologiesrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Body
Creates an instance of aBodyrecord class.- Parameters:
mermaid- the value for themermaidrecord componentsubTopologies- the value for thesubTopologiesrecord componentruntimeState- the value for theruntimeStaterecord 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. -
mermaid
-
subTopologies
public int subTopologies()Returns the value of thesubTopologiesrecord component.- Returns:
- the value of the
subTopologiesrecord component
-
runtimeState
Returns the value of theruntimeStaterecord component.- Returns:
- the value of the
runtimeStaterecord component
-