public Collection<TaskHandle> tasks() {
        return taskHandles.values();
    }
Get the list of tasks handles monitored by this connector handle.

@return the task handle list
connect/runtime/src/test/java/org/apache/kafka/connect/integration/ConnectorHandle.java