You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2018/12/12 11:51:12 UTC

[GitHub] pnowojski commented on a change in pull request #7199: [FLINK-10662][network] Refactor the ChannelSelector interface for single selected channel

pnowojski commented on a change in pull request #7199: [FLINK-10662][network] Refactor the ChannelSelector interface for single selected channel
URL: https://github.com/apache/flink/pull/7199#discussion_r240980989
 
 

 ##########
 File path: flink-runtime/src/main/java/org/apache/flink/runtime/io/network/api/writer/ChannelSelector.java
 ##########
 @@ -37,12 +37,12 @@
 	void setup(int numberOfChannels);
 
 	/**
-	 * Returns the logical channel indexes, to which the given record should be
+	 * Returns the logical channel index, to which the given record should be
 	 * written.
 	 *
 	 * @param record the record to determine the output channels for.
-	 * @return an array of integer numbers which indicate the indices of the output
-	 * 		channels through which the record shall be forwarded.
+	 * @return an integer number which indicates the index of the output
+	 * 		channel through which the record shall be forwarded.
 	 */
-	int[] selectChannels(T record);
+	int selectChannels(T record);
 
 Review comment:
   rename to `selectChannel`?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services