- Timestamp:
- 05/21/12 18:21:03 (12 years ago)
- Location:
- trunk/sources
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Clients.Hive.Administrator/3.3/Views/SlaveView.cs
r7857 r7862 69 69 txtName.Text = ct.Name; 70 70 txtHbIntervall.Text = ct.HbInterval.ToString(); 71 cbxDisposable.Checked = ct.IsDisposable ;71 cbxDisposable.Checked = ct.IsDisposable.GetValueOrDefault(); 72 72 txtCPU.Text = string.Format("{0} Cores @ {1} Mhz, Arch.: {2}", ct.Cores.ToString(), ct.CpuSpeed.ToString(), ct.CpuArchitecture.ToString()); 73 73 txtDetailsDescription.Text = ct.Description; -
trunk/sources/HeuristicLab.Clients.Hive/3.3/ServiceClients/HiveServiceClient.cs
r7857 r7862 2 2 // <auto-generated> 3 3 // This code was generated by a tool. 4 // Runtime Version:4.0.30319. 2694 // Runtime Version:4.0.30319.544 5 5 // 6 6 // Changes to this file may cause incorrect behavior and will be lost if … … 59 59 60 60 public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; 61 62 61 63 } 62 64 … … 967 969 968 970 [System.Runtime.Serialization.OptionalFieldAttribute()] 969 private boolIsDisposableField;971 private System.Nullable<bool> IsDisposableField; 970 972 971 973 [System.Runtime.Serialization.OptionalFieldAttribute()] … … 1073 1075 1074 1076 [System.Runtime.Serialization.DataMemberAttribute()] 1075 public boolIsDisposable {1077 public System.Nullable<bool> IsDisposable { 1076 1078 get { 1077 1079 return this.IsDisposableField; -
trunk/sources/HeuristicLab.Services.Hive.DataAccess/3.3/HiveDataContext.dbml
r7857 r7862 55 55 <Column Name="LastHeartbeat" Type="System.DateTime" DbType="DateTime" CanBeNull="true" /> 56 56 <Column Name="CpuUtilization" Type="System.Double" DbType="float" CanBeNull="false" /> 57 <Column Name="IsDisposable" Type="System.Boolean" DbType="Bit" CanBeNull=" false" />57 <Column Name="IsDisposable" Type="System.Boolean" DbType="Bit" CanBeNull="true" /> 58 58 </Type> 59 59 <Type Name="SlaveGroup" InheritanceCode="GROUP" /> -
trunk/sources/HeuristicLab.Services.Hive.DataAccess/3.3/HiveDataContext.dbml.layout
r7857 r7862 179 179 </nodes> 180 180 </associationConnector> 181 <associationConnector edgePoints="[(7.5 : 4.30930826822917); (7.5 : 4.876650890625); ( 8.875 : 4.876650890625)]" fixedFrom="NotFixed" fixedTo="NotFixed">181 <associationConnector edgePoints="[(7.5 : 4.30930826822917); (7.5 : 4.876650890625); (7.97916666666667 : 4.876650890625 : JumpStart); (8.14583333333333 : 4.876650890625 : JumpEnd); (8.875 : 4.876650890625)]" fixedFrom="NotFixed" fixedTo="NotFixed"> 182 182 <AssociationMoniker Name="/HiveDataContext/Task/Task_AssignedResource" /> 183 183 <nodes> -
trunk/sources/HeuristicLab.Services.Hive.DataAccess/3.3/HiveDataContext.designer.cs
r7857 r7862 3 3 // <auto-generated> 4 4 // This code was generated by a tool. 5 // Runtime Version:4.0.30319. 2695 // Runtime Version:4.0.30319.544 6 6 // 7 7 // Changes to this file may cause incorrect behavior and will be lost if … … 1179 1179 private double _CpuUtilization; 1180 1180 1181 private bool_IsDisposable;1181 private System.Nullable<bool> _IsDisposable; 1182 1182 1183 1183 #region Extensibility Method Definitions … … 1209 1209 partial void OnCpuUtilizationChanging(double value); 1210 1210 partial void OnCpuUtilizationChanged(); 1211 partial void OnIsDisposableChanging( boolvalue);1211 partial void OnIsDisposableChanging(System.Nullable<bool> value); 1212 1212 partial void OnIsDisposableChanged(); 1213 1213 #endregion … … 1459 1459 1460 1460 [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsDisposable", DbType="Bit")] 1461 public boolIsDisposable1461 public System.Nullable<bool> IsDisposable 1462 1462 { 1463 1463 get -
trunk/sources/HeuristicLab.Services.Hive/3.3/DataTransfer/Slave.cs
r7857 r7862 54 54 public double CpuUtilization { get; set; } 55 55 [DataMember] 56 public bool IsDisposable { get; set; }56 public bool? IsDisposable { get; set; } 57 57 58 58 public Slave() { -
trunk/sources/HeuristicLab.Services.Hive/3.3/Manager/EventManager.cs
r7857 r7862 122 122 /// </summary> 123 123 private void DeleteObsoleteSlaves() { 124 var slaves = dao.GetSlaves(x => x.IsDisposable && x.SlaveState == SlaveState.Offline && (DateTime.Now - x.LastHeartbeat) > HeuristicLab.Services.Hive.Properties.Settings.Default.SweepInterval);124 var slaves = dao.GetSlaves(x => x.IsDisposable.GetValueOrDefault() && x.SlaveState == SlaveState.Offline && (DateTime.Now - x.LastHeartbeat) > HeuristicLab.Services.Hive.Properties.Settings.Default.SweepInterval); 125 125 foreach (DT.Slave slave in slaves) dao.DeleteSlave(slave.Id); 126 126 }
Note: See TracChangeset
for help on using the changeset viewer.