Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/03/11 17:08:54 (13 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.Tests/Mocks/MockJob.cs

    r5599 r6110  
    122122          Stopwatch watch = new Stopwatch();
    123123          watch.Start();
     124          OnJobStarted();
    124125          do {
    125126            Thread.SpinWait(1000);
     
    191192    }
    192193
     194    public event EventHandler JobStarted;
     195    protected virtual void OnJobStarted() {
     196      EventHandler handler = JobStarted;
     197      if (handler != null) handler(this, EventArgs.Empty);
     198    }
     199
    193200    public event EventHandler JobFailed;
    194201    protected virtual void OnJobFailed(Exception e) {
     
    210217    }
    211218    #endregion
     219
    212220  }
    213221}
Note: See TracChangeset for help on using the changeset viewer.