Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
08/18/10 15:29:57 (14 years ago)
Author:
cneumuel
Message:

Rename "Client" to "Slave" #1157

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.3-HiveMigration/sources/HeuristicLab.Hive/HeuristicLab.Hive.Server.LINQDataAccess/3.3/JobDao.cs

    r4170 r4253  
    9393    }
    9494
    95     public IEnumerable<JobDto> FindActiveJobsOfClient(ClientDto client) {
     95    public IEnumerable<JobDto> FindActiveJobsOfSlave(ClientDto client) {
    9696      return (from j in Context.Jobs
    9797              where (j.JobState == Enum.GetName(typeof (State), State.Calculating) ||
     
    103103    }
    104104
    105     public IEnumerable<JobDto> FindFittingJobsForClient(State state, int freeCores, int freeMemory, Guid clientId) {
     105    public IEnumerable<JobDto> FindFittingJobsForSlave(State state, int freeCores, int freeMemory, Guid clientId) {
    106106      ClientGroupDao cgd = new ClientGroupDao();
    107107     
     
    126126    }
    127127
    128     public void AssignClientToJob(Guid clientId, Guid jobId) {
     128    public void AssignSlaveToJob(Guid clientId, Guid jobId) {
    129129      Client c = Context.Resources.OfType<Client>().SingleOrDefault(client => client.ResourceId.Equals(clientId));
    130130      Job j = Context.Jobs.SingleOrDefault(job => job.JobId.Equals(jobId));
Note: See TracChangeset for help on using the changeset viewer.