Package com.acelet.s.task

Examples of com.acelet.s.task.WorkingTask


    long now = System.currentTimeMillis();
    Enumeration enumeration = Registry.taskHashtable.elements();
    while (enumeration.hasMoreElements()) {
      Task task = (Task) enumeration.nextElement();
      long duration = task.duration;
      WorkingTask workingTask = null;
      if (task.duration > 0) {
       
       
        for (int i = 0; i < Registry.workingTaskVector.size(); i++) {
          workingTask = (WorkingTask) Registry.workingTaskVector.elementAt(i);
          if (task.getId() == workingTask.getId0()) {
            if (workingTask.status == WorkingTask.STATUS_STARTED) {
             
             
             
             
View Full Code Here


      Registry.workingTaskVector =
        Delegate.selectAllWorkingTasks(displayStartTimeForWorkingTask,
            Long.MAX_VALUE, workingTaskDisplayMax + 1);
      int workingTaskSize = Registry.workingTaskVector.size();
      if (workingTaskSize > workingTaskDisplayMax) {
        WorkingTask wt =
          (WorkingTask) Registry.workingTaskVector.elementAt(workingTaskDisplayMax - 1);
       
        displayStartTimeForWorkingTask = wt.modifiedAt;
      }
    } finally {
View Full Code Here

TOP

Related Classes of com.acelet.s.task.WorkingTask

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.