Lines Matching refs:HostQueueEntry
8 (particularly HostQueueEntry and Job) have considerable scheduler-specific logic
171 # instances for every HostQueueEntry object that we instantiate as
464 class HostQueueEntry(DBObject):
475 super(HostQueueEntry, self).__init__(id=id, row=row, **kwargs)
619 active = (status in models.HostQueueEntry.ACTIVE_STATUSES)
620 complete = (status in models.HostQueueEntry.COMPLETE_STATUSES)
661 if status is not models.HostQueueEntry.Status.ABORTED:
736 hosts_queue = HostQueueEntry.fetch('job_id = %s' % self.job.id)
766 self.set_status(models.HostQueueEntry.Status.QUEUED)
811 self.set_status(models.HostQueueEntry.Status.PENDING)
820 self.status == models.HostQueueEntry.Status.PENDING):
829 Status = models.HostQueueEntry.Status
1080 pending_entries = models.HostQueueEntry.objects.filter(
1081 job=self.id, status=models.HostQueueEntry.Status.PENDING)
1122 statuses = list(models.HostQueueEntry.PRE_JOB_STATUSES)
1124 statuses = list(models.HostQueueEntry.IDLE_PRE_JOB_STATUSES)
1125 return models.HostQueueEntry.objects.filter(job=self.id,
1138 if child_entry.status == models.HostQueueEntry.Status.PENDING:
1141 child_entry.status = models.HostQueueEntry.Status.STOPPED
1155 query = models.HostQueueEntry.objects.filter(
1169 @param queue_entry_from_group: A HostQueueEntry instance to find other
1172 @returns A list of HostQueueEntry objects all executing this job as
1177 return list(HostQueueEntry.fetch(
1268 hqe_model = models.HostQueueEntry.objects.get(id=queue_entry.id)
1306 @returns A tuple containing a list of HostQueueEntry instances to be
1316 pending_entries = list(HostQueueEntry.fetch(
1360 @param queue_entry: The HostQueueEntry instance calling this method.
1369 queue_entry.set_status(models.HostQueueEntry.Status.STARTING)