Package org.apache.spark.util

Examples of org.apache.spark.util.TaskCompletionListener


    }
  }
 
  private static abstract class Spark11TaskContext {
    static void addOnCompletition(TaskContext taskContext, final Function0<?> function) {
      taskContext.addTaskCompletionListener(new TaskCompletionListener() {
        @Override
        public void onTaskCompletion(TaskContext context) {
          function.apply();
        }
      });
View Full Code Here

TOP

Related Classes of org.apache.spark.util.TaskCompletionListener

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.