Changeset 9363 for branches/OaaS/HeuristicLab.Services.Hive/3.3/Interfaces
- Timestamp:
- 04/16/13 13:13:41 (12 years ago)
- Location:
- branches/OaaS
- Files:
-
- 4 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
branches/OaaS
- Property svn:ignore
-
old new 21 21 protoc.exe 22 22 _ReSharper.HeuristicLab 3.3 Tests 23 Google.ProtocolBuffers-2.4.1.473.dll 23 24 packages
-
- Property svn:mergeinfo changed
- Property svn:ignore
-
branches/OaaS/HeuristicLab.Services.Hive
-
Property
svn:mergeinfo
set to
(toggle deleted branches)
/trunk/sources/HeuristicLab.Services.Hive merged eligible /branches/Algorithms.GradientDescent/HeuristicLab.Services.Hive 5516-5520 /branches/Benchmarking/sources/HeuristicLab.Services.Hive 6917-7005 /branches/CloningRefactoring/HeuristicLab.Services.Hive 4656-4721 /branches/DataAnalysis Refactoring/HeuristicLab.Services.Hive 5471-5808 /branches/DataAnalysis SolutionEnsembles/HeuristicLab.Services.Hive 5815-6180 /branches/DataAnalysis/HeuristicLab.Services.Hive 4458-4459,4462,4464 /branches/GP.Grammar.Editor/HeuristicLab.Services.Hive 6284-6795 /branches/GP.Symbols (TimeLag, Diff, Integral)/HeuristicLab.Services.Hive 5060 /branches/HiveTaskScheduler/HeuristicLab.Services.Hive 8687-9106 /branches/NET40/sources/HeuristicLab.Services.Hive 5138-5162 /branches/ParallelEngine/HeuristicLab.Services.Hive 5175-5192 /branches/ProblemInstancesRegressionAndClassification/HeuristicLab.Services.Hive 7568-7810 /branches/QAPAlgorithms/HeuristicLab.Services.Hive 6350-6627 /branches/Restructure trunk solution/HeuristicLab.Services.Hive 6828 /branches/RuntimeOptimizer/HeuristicLab.Services.Hive 8943-9078 /branches/ScatterSearch (trunk integration)/HeuristicLab.Services.Hive 7787-8333 /branches/SlaveShutdown/HeuristicLab.Services.Hive 8944-8956 /branches/SuccessProgressAnalysis/HeuristicLab.Services.Hive 5370-5682 /branches/Trunk/HeuristicLab.Services.Hive 6829-6865 /branches/UnloadJobs/HeuristicLab.Services.Hive 9168-9215 /branches/VNS/HeuristicLab.Services.Hive 5594-5752 /branches/histogram/HeuristicLab.Services.Hive 5959-6341
-
Property
svn:mergeinfo
set to
(toggle deleted branches)
-
branches/OaaS/HeuristicLab.Services.Hive/3.3/Interfaces/IHiveDao.cs
r7916 r9363 31 31 DT.Task GetTask(Guid id); 32 32 IEnumerable<DT.Task> GetTasks(Expression<Func<Task, bool>> predicate); 33 IEnumerable<DT.LightweightTask> GetLightweightTasks(Expression<Func<Task, bool>> predicate); 34 IEnumerable<DT.LightweightTask> GetLightweightTasksWithoutStateLog(Expression<Func<Task, bool>> predicate); 33 35 Guid AddTask(DT.Task dto); 36 void UpdateTaskAndPlugins(DT.Task dto); 37 void UpdateTaskAndStateLogs(DT.Task dto); 34 38 void UpdateTask(DT.Task dto); 35 39 void DeleteTask(Guid id); 36 IEnumerable< DT.Task> GetWaitingTasks(DT.Slave slave, int count);40 IEnumerable<TaskInfoForScheduler> GetWaitingTasks(DT.Slave slave); 37 41 IEnumerable<DT.Task> GetParentTasks(IEnumerable<Guid> resourceIds, int count, bool finished); 38 42 DT.Task UpdateTaskState(Guid taskId, TaskState taskState, Guid? slaveId, Guid? userId, string exception); … … 58 62 DT.Job GetJob(Guid id); 59 63 IEnumerable<DT.Job> GetJobs(Expression<Func<Job, bool>> predicate); 64 IEnumerable<JobInfoForScheduler> GetJobInfoForScheduler(Expression<Func<Job, bool>> predicate); 60 65 Guid AddJob(DT.Job dto); 61 66 void UpdateJob(DT.Job dto); … … 110 115 void UpdateResource(DT.Resource dto); 111 116 void DeleteResource(Guid id); 112 void AssignJobToResource(Guid jobId, Guid resourceId);117 void AssignJobToResource(Guid taskId, IEnumerable<Guid> resourceIds); 113 118 IEnumerable<DT.Resource> GetAssignedResources(Guid jobId); 114 119 IEnumerable<DT.Resource> GetParentResources(Guid resourceId); … … 145 150 146 151 #region Statistics Methods 152 Dictionary<Guid, int> GetWaitingTasksByUser(); 153 Dictionary<Guid, int> GetWaitingTasksByUserForResources(List<Guid> resourceIds); 154 Dictionary<Guid, int> GetCalculatingTasksByUser(); 155 Dictionary<Guid, int> GetCalculatingTasksByUserForResources(List<Guid> resourceIds); 147 156 DT.Statistics GetStatistic(Guid id); 148 157 IEnumerable<DT.Statistics> GetStatistics(Expression<Func<Statistics, bool>> predicate); … … 151 160 List<DT.UserStatistics> GetUserStatistics(); 152 161 #endregion 162 163 #region UserPriority Methods 164 IEnumerable<DT.UserPriority> GetUserPriorities(Expression<Func<UserPriority, bool>> predicate); 165 void EnqueueUserPriority(DT.UserPriority userPriority); 166 #endregion 153 167 } 154 168 } -
branches/OaaS/HeuristicLab.Services.Hive/3.3/Interfaces/IServiceLocator.cs
r8051 r9363 31 31 Access.IUserManager UserManager { get; } 32 32 HeartbeatManager HeartbeatManager { get; } 33 ITaskScheduler TaskScheduler { get; } 33 34 } 34 35 }
Note: See TracChangeset
for help on using the changeset viewer.