Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
12/29/10 00:52:06 (14 years ago)
Author:
cneumuel
Message:

#1260

  • migrated to .NET 4.0
  • moved state-information about heartbeat timestamps into DB to reduce IIS-recycling issues
  • optimized memory usage of ExperimentManager when lots of large jobs are downloaded
File:
1 edited

Legend:

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

    r5037 r5179  
    15661566    private bool _IsAllowedToCalculate;
    15671567   
     1568    private System.Nullable<System.DateTime> _LastHeartbeat;
     1569   
    15681570    private EntitySet<UptimeStatistic> _UptimeStatistics;
    15691571   
     
    15981600    partial void OnIsAllowedToCalculateChanging(bool value);
    15991601    partial void OnIsAllowedToCalculateChanged();
     1602    partial void OnLastHeartbeatChanging(System.Nullable<System.DateTime> value);
     1603    partial void OnLastHeartbeatChanged();
    16001604    #endregion
    16011605   
     
    18281832          this.SendPropertyChanged("IsAllowedToCalculate");
    18291833          this.OnIsAllowedToCalculateChanged();
     1834        }
     1835      }
     1836    }
     1837   
     1838    [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LastHeartbeat", DbType="DateTime")]
     1839    public System.Nullable<System.DateTime> LastHeartbeat
     1840    {
     1841      get
     1842      {
     1843        return this._LastHeartbeat;
     1844      }
     1845      set
     1846      {
     1847        if ((this._LastHeartbeat != value))
     1848        {
     1849          this.OnLastHeartbeatChanging(value);
     1850          this.SendPropertyChanging();
     1851          this._LastHeartbeat = value;
     1852          this.SendPropertyChanged("LastHeartbeat");
     1853          this.OnLastHeartbeatChanged();
    18301854        }
    18311855      }
     
    19952019   
    19962020    private int _MemoryNeeded;
     2021   
     2022    private System.Nullable<System.DateTime> _LastHeartbeat;
    19972023   
    19982024    private EntitySet<AssignedResource> _AssignedResources;
     
    20422068    partial void OnMemoryNeededChanging(int value);
    20432069    partial void OnMemoryNeededChanged();
     2070    partial void OnLastHeartbeatChanging(System.Nullable<System.DateTime> value);
     2071    partial void OnLastHeartbeatChanged();
    20442072    #endregion
    20452073   
     
    23632391          this.SendPropertyChanged("MemoryNeeded");
    23642392          this.OnMemoryNeededChanged();
     2393        }
     2394      }
     2395    }
     2396   
     2397    [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LastHeartbeat", DbType="DateTime")]
     2398    public System.Nullable<System.DateTime> LastHeartbeat
     2399    {
     2400      get
     2401      {
     2402        return this._LastHeartbeat;
     2403      }
     2404      set
     2405      {
     2406        if ((this._LastHeartbeat != value))
     2407        {
     2408          this.OnLastHeartbeatChanging(value);
     2409          this.SendPropertyChanging();
     2410          this._LastHeartbeat = value;
     2411          this.SendPropertyChanged("LastHeartbeat");
     2412          this.OnLastHeartbeatChanged();
    23652413        }
    23662414      }
Note: See TracChangeset for help on using the changeset viewer.