Package org.apache.kafka.connect.health
Class ConnectorHealth
java.lang.Object
org.apache.kafka.connect.health.ConnectorHealth
Provides basic health information about the connector and its tasks.
- 
Constructor Summary
ConstructorsConstructorDescriptionConnectorHealth(String name, ConnectorState connectorState, Map<Integer, TaskState> tasks, ConnectorType type)  - 
Method Summary
 
- 
Constructor Details
- 
ConnectorHealth
public ConnectorHealth(String name, ConnectorState connectorState, Map<Integer, TaskState> tasks, ConnectorType type)  
 - 
 - 
Method Details
- 
name
Provides the name of the connector.- Returns:
 - name, never 
nullor empty 
 - 
connectorState
Provides the current state of the connector.- Returns:
 - the connector state, never 
null 
 - 
tasksState
Provides the current state of the connector tasks.- Returns:
 - the state for each task ID; never 
null 
 - 
type
Provides the type of the connector.- Returns:
 - type, never 
null 
 - 
equals
 - 
hashCode
public int hashCode() - 
toString
 
 -