Package uk.org.microbase.scheduler.db.data

Examples of uk.org.microbase.scheduler.db.data.ProcessStartLogItem


            count + " distributed instances running (limit "+maxInstances+ ")");
      }

      //Manually insert ActiveProcess entry while distributed data structure
      //is still locked.
      ProcessStartLogItem logItem = new ProcessStartLogItem();
      logItem.setGuid(process.getGuid());
      logItem.setHostname(process.getHostname());
      logItem.setResponderGuid(process.getResponder().getTaskTypeGuid());
      logItem.setTimestamp(process.getLastSeen().getTime());
      logItem.setType(process.getType().name());
     
      processLogDao.log(logItem);

      // Also add task to the distributed task list, again while still locked
      activeProcessDao.updateProcess(process);
View Full Code Here

TOP

Related Classes of uk.org.microbase.scheduler.db.data.ProcessStartLogItem

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.