Package com.acelet.s.chore

Examples of com.acelet.s.chore.WorkingChore


    long now = System.currentTimeMillis();
    Enumeration enumeration = Registry.choreHashtable.elements();
    while (enumeration.hasMoreElements()) {
      Chore chore = (Chore) enumeration.nextElement();
      long duration = chore.duration;
      WorkingChore workingChore = null;
      if (chore.duration > 0) {
       
       
        for (int i = 0; i < Registry.workingChoreVector.size(); i++) {
          workingChore = (WorkingChore) Registry.workingChoreVector.elementAt(i);
          if (chore.getId() == workingChore.getId0()) {
            if (workingChore.status == WorkingChore.STATUS_STARTED) {
             
             
             
             
View Full Code Here


      Registry.workingChoreVector =
        Delegate.selectAllWorkingChores(displayStartTimeForWorkingChore,
            Long.MAX_VALUE, workingChoreDisplayMax + 1);
      int workingChoreSize = Registry.workingChoreVector.size();
      if (workingChoreSize > workingChoreDisplayMax) {
        WorkingChore wt = (WorkingChore)
          Registry.workingChoreVector.elementAt(workingChoreDisplayMax - 1);
        displayStartTimeForWorkingChore = wt.modifiedAt;
      }
    } finally {
      busy = false;
View Full Code Here

TOP

Related Classes of com.acelet.s.chore.WorkingChore

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.