Last change
on this file since 3099 was
3018,
checked in by kgrading, 15 years ago
|
added Priority and resource restricted scheduling (#907)
|
File size:
743 bytes
|
Line | |
---|
1 | using System;
|
---|
2 | using System.Collections.Generic;
|
---|
3 | using System.Text;
|
---|
4 | using HeuristicLab.Hive.Contracts.BusinessObjects;
|
---|
5 | using System.IO;
|
---|
6 |
|
---|
7 | namespace HeuristicLab.Hive.Server.DataAccess {
|
---|
8 | public interface IJobDao: IGenericDao<JobDto> {
|
---|
9 | IEnumerable<JobDto> FindActiveJobsOfClient(ClientDto client);
|
---|
10 |
|
---|
11 | IEnumerable<JobDto> GetJobsByState(State state);
|
---|
12 |
|
---|
13 | void AssignClientToJob(Guid clientId, Guid jobId);
|
---|
14 |
|
---|
15 | void SetJobOffline(JobDto job);
|
---|
16 |
|
---|
17 | SerializedJob InsertWithAttachedJob(SerializedJob job);
|
---|
18 |
|
---|
19 | byte[] GetBinaryJobFile(Guid jobId);
|
---|
20 |
|
---|
21 | IEnumerable<JobDto> FindFittingJobsForClient(State state, int freeCores, int freeMemory, Guid clientGuid);
|
---|
22 | Stream GetSerializedJobStream(Guid jobId);
|
---|
23 | }
|
---|
24 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.