Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/14/10 12:07:47 (15 years ago)
Author:
kgrading
Message:

added Priority and resource restricted scheduling (#907)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Hive.Engine/3.2/HiveEngine.cs

    r3011 r3018  
    5252    public string HiveServerUrl { get; set; }
    5353    public string MultiSubmitCount { get; set; }
     54    public string RessourceIds { get; set; }
    5455
    5556    public HiveEngine() {
     
    9495      IExecutionEngineFacade executionEngineFacade = ServiceLocator.CreateExecutionEngineFacade(HiveServerUrl);
    9596     
     97      if(!String.Empty.Equals(RessourceIds)) {
     98        String[] ids = RessourceIds.Split(';');
     99        foreach (string sid in ids) {       
     100          try {
     101            System.Guid gid = new Guid(sid);
     102            jobObj.JobInfo.AssignedResourceIds.Add(gid);
     103          } catch(Exception ex) {
     104           
     105          }   
     106        }
     107      }     
     108
    96109      int loops = 1;
    97110     
Note: See TracChangeset for help on using the changeset viewer.