- Timestamp:
- 04/18/13 16:35:14 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HivePerformance/sources/HeuristicLab.Services.Hive/3.3/Interfaces/IHiveDao.cs
r9266 r9381 30 30 #region Task Methods 31 31 DT.Task GetTask(Guid id); 32 Task GetTaskDA(Guid id); 32 33 IEnumerable<DT.Task> GetTasks(Expression<Func<Task, bool>> predicate); 33 34 IEnumerable<DT.LightweightTask> GetLightweightTasks(Expression<Func<Task, bool>> predicate); … … 37 38 void UpdateTaskAndStateLogs(DT.Task dto); 38 39 void UpdateTask(DT.Task dto); 40 void UpdateTaskDA(Task dto); 39 41 void DeleteTask(Guid id); 40 42 IEnumerable<TaskInfoForScheduler> GetWaitingTasks(DT.Slave slave); 43 IEnumerable<TaskInfoForScheduler> GetWaitingTasksDA(Slave slave); 41 44 IEnumerable<DT.Task> GetParentTasks(IEnumerable<Guid> resourceIds, int count, bool finished); 42 45 DT.Task UpdateTaskState(Guid taskId, TaskState taskState, Guid? slaveId, Guid? userId, string exception); 46 Task UpdateTaskStateDA(Guid taskId, TaskState taskState, Guid? slaveId, Guid? userId, string exception); 43 47 #endregion 44 48 … … 95 99 #region Slave Methods 96 100 DT.Slave GetSlave(Guid id); 101 Slave GetSlaveDA(Guid id); 97 102 IEnumerable<DT.Slave> GetSlaves(Expression<Func<Slave, bool>> predicate); 98 103 Guid AddSlave(DT.Slave dto); 99 104 void UpdateSlave(DT.Slave dto); 105 void UpdateSlaveDA(Slave dto); 100 106 void DeleteSlave(Guid id); 101 107 #endregion … … 118 124 IEnumerable<DT.Resource> GetAssignedResources(Guid jobId); 119 125 IEnumerable<DT.Resource> GetParentResources(Guid resourceId); 126 IEnumerable<Resource> GetParentResourcesDA(Guid resourceId); 120 127 IEnumerable<DT.Resource> GetChildResources(Guid resourceId); 121 128 IEnumerable<DT.Task> GetJobsByResourceId(Guid resourceId);
Note: See TracChangeset
for help on using the changeset viewer.