Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
06/16/11 00:06:54 (13 years ago)
Author:
cneumuel
Message:

#1233

  • created events when statelog changed
  • fixed memory leak in hiveengine
  • extended timeout for long running transactions and database contexts (when jobdata is stored)
  • replaced random guids in database with sequential guids for performance reasons
  • minor fixes and cleanups
Location:
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive/3.4/Jobs
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive/3.4/Jobs/EngineJob.cs

    r6200 r6419  
    11using System;
    2 using System.Collections.Generic;
    32using System.Drawing;
    43using HeuristicLab.Common;
    54using HeuristicLab.Core;
    6 using HeuristicLab.Hive;
    75using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
    86
     
    6563    public override void Stop() {
    6664      Item.Stop();
    67     }
    68    
    69     public override void Resume(IEnumerable<IJob> childJobs) {
    70       throw new NotImplementedException();
    7165    }
    7266
  • branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive/3.4/Jobs/ItemJob.cs

    r6381 r6419  
    2121
    2222using System;
    23 using System.Collections.Generic;
    2423using System.Drawing;
    2524using HeuristicLab.Common;
     
    113112    public abstract void Stop();
    114113
    115     public abstract void Resume(IEnumerable<IJob> childJobs);
    116 
    117114    public event EventHandler JobStarted;
    118115    protected virtual void OnJobStarted() {
     
    139136    }
    140137
    141     public event EventHandler<EventArgs<IJob>> NewChildJob;
    142     protected virtual void OnNewChildJob(IJob job) {
    143       EventHandler<EventArgs<IJob>> handler = NewChildJob;
    144       if (handler != null) handler(this, new EventArgs<IJob>(job));
    145     }
    146 
    147     public event EventHandler WaitForChildJobs;
    148     protected virtual void OnWaitForChildJobs() {
    149       EventHandler handler = WaitForChildJobs;
    150       if (handler != null) handler(this, EventArgs.Empty);
    151     }
    152 
    153     public event EventHandler DeleteChildJobs;
    154     protected virtual void OnDeleteChildJobs() {
    155       EventHandler handler = DeleteChildJobs;
    156       if (handler != null) handler(this, EventArgs.Empty);
    157     }
    158 
    159138    public event EventHandler ComputeInParallelChanged;
    160139    protected virtual void OnComputeInParallelChanged() {
  • branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive/3.4/Jobs/OptimizerJob.cs

    r6381 r6419  
    113113    public override void Stop() {
    114114      Item.Stop();
    115     }
    116 
    117     public override void Resume(IEnumerable<IJob> childJobs) {
    118       OnJobStopped();
    119115    }
    120116    #endregion
Note: See TracChangeset for help on using the changeset viewer.