Github user pwendell commented on a diff in the pull request:
https://github.com/apache/spark/pull/2176#discussion_r16930621
--- Diff: core/src/main/scala/org/apache/spark/api/java/JavaRDDLike.scala
---
@@ -574,4 +574,15 @@ trait JavaRDDLike[T, This <: JavaRDDLike[T, This]]
extends Serializable {
def name(): String = rdd.name
+ /**
+ * The asynchronous version of the foreach action.
+ *
+ * @param f the function to apply to all the elements of the RDD
+ * @return a FutureAction for the action
+ */
+ def foreachAsync(f: VoidFunction[T]): FutureAction[Unit] = {
--- End diff --
@rxin @lirui-intel Make it consistent with the other code where we do this.
There is no need to have a big sentence with caps. The `::Experimental::`
string along with the `@Experimental` annotation is what we do. Look in other
Java code that has this.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]