Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
11/30/10 15:58:33 (14 years ago)
Author:
cneumuel
Message:

#1260

  • custom configuration file is now deployed on slaves
  • made plugin distribution process more robust
  • fixed bug: slave assemblies are required in each sandbox appdomain
  • cleaned up some configuration elements in slave console client
  • fixed wrong path for locally persisted jobs
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.Hive/sources/HeuristicLab.Hive/HeuristicLab.Hive.Slave.ExecutionEngine/3.3/Executor.cs

    r4810 r5000  
    2929using HeuristicLab.Hive.Slave.Common;
    3030using HeuristicLab.Persistence.Core;
     31using System.Threading;
    3132
    3233namespace HeuristicLab.Hive.Slave.ExecutionEngine {
     
    4748    }
    4849    public MessageQueue Queue { get; set; }
    49    
     50
    5051    public ExecutionState ExecutionState {
    5152      get {
     
    6263    public DateTime CreationTime { get; set; }
    6364
    64     /// <summary>
    65     ///
    66     /// </summary>
    6765    /// <param name="serializedJob"></param>
    6866    /// <param name="collectChildJobs">if true, all child-jobs are downloaded and the job will be resumed.</param>
     
    198196
    199197      if (Job.ExecutionState == Core.ExecutionState.Started) {
     198        try { Job.Stop(); }
     199        catch { }
     200      }
     201
     202      if (Job.ExecutionState == Core.ExecutionState.Started) {
    200203        throw new InvalidStateException("Job is still running"); //Job isn't finished!
    201204      } else {
     
    223226
    224227    public void Dispose() {
    225       if(Job != null)
     228      if (Job != null)
    226229        DeregisterJobEvents();
    227230      Queue = null;
Note: See TracChangeset for help on using the changeset viewer.