Package com.firefly.server.http.ThreadPoolWrapper

Examples of com.firefly.server.http.ThreadPoolWrapper.BusinessLogicTask


      request.response.outSystemData();
    } else {
      if(!request.config.isEnableThreadPool()) {
        doRequest(request);
      } else {
        ThreadPoolWrapper.submit(new BusinessLogicTask(request){
          @Override
          public void run() {
            doRequest(request);
          }
        });
View Full Code Here


    }
  }

  @Override
  public void start(final Runnable runnable) {
    Future<?> future = ThreadPoolWrapper.submit(new BusinessLogicTask(request){

      @Override
      public void run() {
        runnable.run();
      }
View Full Code Here

TOP

Related Classes of com.firefly.server.http.ThreadPoolWrapper.BusinessLogicTask

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.