mirror of https://github.com/apache/kafka.git
MINOR: rename @returns to @return (#9808)
Reviewers: Chia-Ping Tsai <chia7712@gmail.com>
This commit is contained in:
parent
bdb29e42cb
commit
0e91d053f3
|
@ -65,7 +65,7 @@ public interface Herder {
|
||||||
* Get a list of connectors currently running in this cluster. This is a full list of connectors in the cluster gathered
|
* Get a list of connectors currently running in this cluster. This is a full list of connectors in the cluster gathered
|
||||||
* from the current configuration. However, note
|
* from the current configuration. However, note
|
||||||
*
|
*
|
||||||
* @returns A list of connector names
|
* @return A list of connector names
|
||||||
* @throws org.apache.kafka.connect.runtime.distributed.RequestTargetException if this node can not resolve the request
|
* @throws org.apache.kafka.connect.runtime.distributed.RequestTargetException if this node can not resolve the request
|
||||||
* (e.g., because it has not joined the cluster or does not have configs in sync with the group) and it is
|
* (e.g., because it has not joined the cluster or does not have configs in sync with the group) and it is
|
||||||
* not the leader or the task owner (e.g., task restart must be handled by the worker which owns the task)
|
* not the leader or the task owner (e.g., task restart must be handled by the worker which owns the task)
|
||||||
|
@ -132,7 +132,7 @@ public interface Herder {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get a list of connectors currently running in this cluster.
|
* Get a list of connectors currently running in this cluster.
|
||||||
* @returns A list of connector names
|
* @return A list of connector names
|
||||||
*/
|
*/
|
||||||
Collection<String> connectors();
|
Collection<String> connectors();
|
||||||
|
|
||||||
|
@ -213,7 +213,7 @@ public interface Herder {
|
||||||
* @param delayMs delay before restart
|
* @param delayMs delay before restart
|
||||||
* @param connName name of the connector
|
* @param connName name of the connector
|
||||||
* @param cb callback to invoke upon completion
|
* @param cb callback to invoke upon completion
|
||||||
* @returns The id of the request
|
* @return The id of the request
|
||||||
*/
|
*/
|
||||||
HerderRequest restartConnector(long delayMs, String connName, Callback<Void> cb);
|
HerderRequest restartConnector(long delayMs, String connName, Callback<Void> cb);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue