Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
06/19/09 13:05:47 (15 years ago)
Author:
svonolfe
Message:

Implemented job assignment to resources (#507)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Hive.Server.ADODataAccess/3.2/JobAdapter.cs

    r1955 r2066  
    338338    }
    339339
    340     public ICollection<Job> FindJobs(State state, int cores, int memory) {
     340    public ICollection<Job> FindJobs(State state, int cores, int memory,
     341      Guid resourceId) {
    341342      return
    342343         base.FindMultiple(
    343344           delegate() {
    344              return Adapter.GetDataByStateCoresMemory(state.ToString(), cores, memory);
     345             return Adapter.GetDataByStateCoresMemoryResource(
     346               state.ToString(),
     347               cores,
     348               memory,
     349               resourceId);
    345350           });
    346351    }
Note: See TracChangeset for help on using the changeset viewer.