Package wowodc.background.tasks

Examples of wowodc.background.tasks.T05MultiThreadedEOFTask


   */
  public WOActionResults dispatchMultiThreadedTask() {
    // Set up the controller for the end of task action
    ERXNextPageForResultWOAction controller = new ERXNextPageForResultWOAction(pageWithName(TaskInfoPage.class), "taskInfo");
   
    Callable<EOGlobalID> task = new T05MultiThreadedEOFTask();
   
    CCAjaxLongResponsePage nextPage = pageWithName(CCAjaxLongResponsePage.class);
    nextPage.setNextPageForResultController(controller);
    nextPage.setTask(task);
   
View Full Code Here


   *
   * @return result {@link TaskInfoPage} displaying result of task {@link T05MultiThreadedEOFTask}
   */
  public WOActionResults dispatchMultiThreadedTaskWithoutLongResponse() {

    Callable<EOGlobalID> task = new T05MultiThreadedEOFTask(60000);
    // We just ignore the return value in the case of sending a Callable to background and not
    // caring about handling the result object
    ERXExecutorService.executorService().submit(task);
   
    return pageWithName(AppMonitor.class);
View Full Code Here

TOP

Related Classes of wowodc.background.tasks.T05MultiThreadedEOFTask

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.