- Timestamp:
- 03/24/16 17:19:13 (9 years ago)
- Location:
- branches/WebJobManager/HeuristicLab.Clients.Hive.WebJobManager/Services
- Files:
-
- 5 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/WebJobManager/HeuristicLab.Clients.Hive.WebJobManager/Services/Imports/ConcurrentTaskDownloaderWeb.cs
r13712 r13733 28 28 namespace HeuristicLab.Clients.Hive.WebJobManager.Services.Imports 29 29 { 30 31 // 30 32 /// <summary> 31 /// Downloads and deserializes jobs. It avoids too many jobs beeing downloaded or deserialized at the same time to avoid memory problems33 /// Rewritten to use HiveServiceLocatorWeb and HiveClientWeb 32 34 /// </summary> 33 35 public class ConcurrentTaskDownloaderWeb<T> : IDisposable where T : class, ITask { … … 70 72 Task t = null; 71 73 HiveClientWeb.TryAndRepeat(() => { 72 t = HiveServiceLocatorWeb ManagerService.Instance.CallHiveService(s => s.GetTask((Guid)taskId));74 t = HiveServiceLocatorWeb.Instance.CallHiveService(s => s.GetTask((Guid)taskId)); 73 75 }, Settings.Default.MaxRepeatServiceCalls, "Failed to download task."); 74 76 return t; … … 85 87 if (abort) return null; 86 88 HiveClientWeb.TryAndRepeat(() => { 87 result = HiveServiceLocatorWeb ManagerService.Instance.CallHiveService(s => s.GetTaskData(task.Id));89 result = HiveServiceLocatorWeb.Instance.CallHiveService(s => s.GetTaskData(task.Id)); 88 90 }, Settings.Default.MaxRepeatServiceCalls, "Failed to download task data."); 89 91 } -
branches/WebJobManager/HeuristicLab.Clients.Hive.WebJobManager/Services/Imports/TaskDownloaderWeb.cs
r13712 r13733 27 27 28 28 namespace HeuristicLab.Clients.Hive.WebJobManager.Services.Imports { 29 30 /// <summary> 31 /// Rewritten to use HiveClientWeb and HiveServiceLocatorWeb 32 /// </summary> 29 33 public class TaskDownloaderWeb : IDisposable { 30 34 private IEnumerable<Guid> taskIds; -
branches/WebJobManager/HeuristicLab.Clients.Hive.WebJobManager/Services/LoginViewModelService.cs
r13656 r13733 33 33 } 34 34 35 public void destroy()35 public void clear() 36 36 { 37 instance = null;38 37 vm = null; 38 HiveServiceLocatorWeb.clear(); 39 39 } 40 40 }
Note: See TracChangeset
for help on using the changeset viewer.