Package org.apache.drill.exec.work.fragment

Examples of org.apache.drill.exec.work.fragment.IncomingFragmentHandler.cancel()


  @Override
  public Ack cancelFragment(FragmentHandle handle){
    IncomingFragmentHandler handler = handlers.get(handle);
    if(handler != null){
      // try remote fragment cancel.
      handler.cancel();
    }else{
      // then try local cancel.
      FragmentRunner runner = bee.getFragmentRunner(handle);
      if(runner != null) runner.cancel();
    }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.