Interface ThreadMetadata
public interface ThreadMetadata
Metadata of a stream thread.
Method Summary
Modifier and TypeMethodDescriptionMetadata of the active tasks assigned to the stream thread.Client ID of the admin client used by the stream thread.Client ID of the Kafka consumer used by the stream thread.booleanCompares the specified object with this ThreadMetadata.inthashCode()Returns the hash code value for this ThreadMetadata.Client IDs of the Kafka producers used by the stream thread.Client ID of the restore Kafka consumer used by the stream threadMetadata of the standby tasks assigned to the stream thread.Name of the stream threadState of the stream thread
Method Details
threadState
threadName
activeTasks
Set<TaskMetadata> activeTasks()Metadata of the active tasks assigned to the stream thread.- Returns:
- metadata of the active tasks
standbyTasks
Set<TaskMetadata> standbyTasks()Metadata of the standby tasks assigned to the stream thread.- Returns:
- metadata of the standby tasks
consumerClientId
String consumerClientId()Client ID of the Kafka consumer used by the stream thread.- Returns:
- client ID of the Kafka consumer
restoreConsumerClientId
String restoreConsumerClientId()Client ID of the restore Kafka consumer used by the stream thread- Returns:
- client ID of the restore Kafka consumer
producerClientIds
adminClientId
String adminClientId()Client ID of the admin client used by the stream thread.- Returns:
- client ID of the admin client
equals
Compares the specified object with this ThreadMetadata. Returnstrueif and only if the specified object is also a ThreadMetadata and boththreadName()are equal,threadState()are equal,activeTasks()contain the same elements,standbyTasks()contain the same elements,mainConsumerClientId()are equal,restoreConsumerClientId()are equal,producerClientIds()are equal,producerClientIdscontain the same elements, andadminClientId()are equal.hashCode
int hashCode()Returns the hash code value for this ThreadMetadata. The hash code of a list is defined to be the result of the following calculation:Objects.hash( threadName, threadState, activeTasks, standbyTasks, mainConsumerClientId, restoreConsumerClientId, producerClientIds, adminClientId );