Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/24/16 17:19:13 (9 years ago)
Author:
jlodewyc
Message:

#2582 Last fixes Job Manager

Location:
branches/WebJobManager/HeuristicLab.Clients.Hive.WebJobManager/Services/Imports
Files:
2 added
2 edited

Legend:

Unmodified
Added
Removed
  • branches/WebJobManager/HeuristicLab.Clients.Hive.WebJobManager/Services/Imports/ConcurrentTaskDownloaderWeb.cs

    r13712 r13733  
    2828namespace HeuristicLab.Clients.Hive.WebJobManager.Services.Imports
    2929{
     30
     31    //
    3032  /// <summary>
    31   /// Downloads and deserializes jobs. It avoids too many jobs beeing downloaded or deserialized at the same time to avoid memory problems
     33  /// Rewritten to use HiveServiceLocatorWeb and HiveClientWeb
    3234  /// </summary>
    3335  public class ConcurrentTaskDownloaderWeb<T> : IDisposable where T : class, ITask {
     
    7072      Task t = null;
    7173      HiveClientWeb.TryAndRepeat(() => {
    72         t = HiveServiceLocatorWebManagerService.Instance.CallHiveService(s => s.GetTask((Guid)taskId));
     74        t = HiveServiceLocatorWeb.Instance.CallHiveService(s => s.GetTask((Guid)taskId));
    7375      }, Settings.Default.MaxRepeatServiceCalls, "Failed to download task.");
    7476      return t;
     
    8587        if (abort) return null;
    8688        HiveClientWeb.TryAndRepeat(() => {
    87           result = HiveServiceLocatorWebManagerService.Instance.CallHiveService(s => s.GetTaskData(task.Id));
     89          result = HiveServiceLocatorWeb.Instance.CallHiveService(s => s.GetTaskData(task.Id));
    8890        }, Settings.Default.MaxRepeatServiceCalls, "Failed to download task data.");
    8991      }
  • branches/WebJobManager/HeuristicLab.Clients.Hive.WebJobManager/Services/Imports/TaskDownloaderWeb.cs

    r13712 r13733  
    2727
    2828namespace HeuristicLab.Clients.Hive.WebJobManager.Services.Imports {
     29
     30    /// <summary>
     31    /// Rewritten to use HiveClientWeb and HiveServiceLocatorWeb
     32    /// </summary>
    2933  public class TaskDownloaderWeb : IDisposable {
    3034    private IEnumerable<Guid> taskIds;
Note: See TracChangeset for help on using the changeset viewer.