Record Class KafkaSpace.ConsumerCacheKey
java.lang.Object
java.lang.Record
io.nosqlbench.adapter.kafka.KafkaSpace.ConsumerCacheKey
-
Constructor Summary
ConstructorsConstructorDescriptionConsumerCacheKey(String consumerName, List<String> topicList, String clientId) Creates an instance of aConsumerCacheKeyrecord class. -
Method Summary
Modifier and TypeMethodDescriptionclientId()Returns the value of theclientIdrecord component.Returns the value of theconsumerNamerecord 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 thetopicListrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ConsumerCacheKey
Creates an instance of aConsumerCacheKeyrecord class.- Parameters:
consumerName- the value for theconsumerNamerecord componenttopicList- the value for thetopicListrecord componentclientId- the value for theclientIdrecord 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. All components in this record class are compared withObjects::equals(Object,Object). -
consumerName
Returns the value of theconsumerNamerecord component.- Returns:
- the value of the
consumerNamerecord component
-
topicList
-
clientId
Returns the value of theclientIdrecord component.- Returns:
- the value of the
clientIdrecord component
-