Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/03/11 17:08:54 (14 years ago)
Author:
cneumuel
Message:

#1233

  • renamed engines to executors
  • changed locking in StartJobInAppDomain
  • avoid destruction of proxy object after 5 minutes for Slave.Core
  • added JobStarted event and fixed ExecutionStateChanged and ExecutionTimeChanged
  • slaves which are moved to another slavegroup will pause their jobs now, if they must not calculate them
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.Slave/3.4/ConfigManager.cs

    r6004 r6110  
    8585      st.JobsFetched = SlaveStatusInfo.JobsFetched;
    8686
    87       Dictionary<Guid, Executor> engines = Core.ExecutionEngines;
     87      Dictionary<Guid, Executor> engines = Core.Executors;
    8888      st.Jobs = new List<JobStatus>();
    8989
     
    9999    public Dictionary<Guid, TimeSpan> GetExecutionTimeOfAllJobs() {
    100100      Dictionary<Guid, TimeSpan> prog = new Dictionary<Guid, TimeSpan>();
    101       Dictionary<Guid, Executor> engines = Core.ExecutionEngines;
     101      Dictionary<Guid, Executor> engines = Core.Executors;
    102102      lock (engines) {
    103103        foreach (KeyValuePair<Guid, Executor> kvp in engines) {
     
    113113
    114114    public int GetUsedCores() {
    115       Dictionary<Guid, Executor> engines = Core.ExecutionEngines;
     115      Dictionary<Guid, Executor> engines = Core.Executors;
    116116      Dictionary<Guid, Job> jobs = Core.Jobs;
    117117      int usedCores = 0;
Note: See TracChangeset for help on using the changeset viewer.