Changeset 9385 for branches/HivePerformance/sources/HeuristicLab.Services.Hive/3.3/Interfaces/IHiveDao.cs
- Timestamp:
- 04/19/13 17:16:49 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HivePerformance/sources/HeuristicLab.Services.Hive/3.3/Interfaces/IHiveDao.cs
r9381 r9385 22 22 using System; 23 23 using System.Collections.Generic; 24 using System.Linq; 24 25 using System.Linq.Expressions; 25 26 using HeuristicLab.Services.Hive.DataAccess; … … 41 42 void DeleteTask(Guid id); 42 43 IEnumerable<TaskInfoForScheduler> GetWaitingTasks(DT.Slave slave); 43 I Enumerable<TaskInfoForScheduler> GetWaitingTasksDA(Slave slave);44 IQueryable<TaskInfoForScheduler> GetWaitingTasksDA(Slave slave); 44 45 IEnumerable<DT.Task> GetParentTasks(IEnumerable<Guid> resourceIds, int count, bool finished); 45 46 DT.Task UpdateTaskState(Guid taskId, TaskState taskState, Guid? slaveId, Guid? userId, string exception); … … 123 124 void AssignJobToResource(Guid taskId, IEnumerable<Guid> resourceIds); 124 125 IEnumerable<DT.Resource> GetAssignedResources(Guid jobId); 126 IQueryable<Guid> GetAssignedResourcesIdsDA(Guid taskId); 125 127 IEnumerable<DT.Resource> GetParentResources(Guid resourceId); 126 128 IEnumerable<Resource> GetParentResourcesDA(Guid resourceId); 129 IEnumerable<Guid> GetParentResourcesIDsDA(Guid resourceId); 130 IQueryable<int> GetNumberOfDowntimesFromParentResourcesAtCurrentTimeDA(Guid resourceId, DowntimeType type); 127 131 IEnumerable<DT.Resource> GetChildResources(Guid resourceId); 128 132 IEnumerable<DT.Task> GetJobsByResourceId(Guid resourceId);
Note: See TracChangeset
for help on using the changeset viewer.