Package er.extensions.concurrency

Examples of er.extensions.concurrency.ERXTaskInfo


    _tasks = null;
  }

  public boolean showCancel() {
    boolean show = false;
    ERXTaskInfo taskInfo = loopTaskItem();
    Object task = taskInfo.task();
    if (task instanceof ERXFutureTask) {
      show = ((ERXFutureTask)task).isStoppable();
    } else {
      show = task instanceof IERXStoppable;
    }
View Full Code Here


  /**
   * @return the current task if it implements {@link IERXStoppable}, otherwise returns null.
   */
  private IERXStoppable loopStopTask() {
    IERXStoppable iERXStop = null;
    ERXTaskInfo info = loopTaskItem();
    Object task = info.task();

    if (task instanceof ERXFutureTask) {
      task = ((ERXFutureTask)task).task();
    }
   
View Full Code Here

TOP

Related Classes of er.extensions.concurrency.ERXTaskInfo

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.