Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
08/19/10 15:47:46 (14 years ago)
Author:
cneumuel
Message:

renamed all database entities from "Client" to "Slave" (#1157)
made slave-heartbeats synchronous, also they send HBs when timetable disallows them to calculate. they will appear on the server as Idle bis IsAllowedToCalculate will be false (#1159)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.3-HiveMigration/sources/HeuristicLab.Hive/HeuristicLab.Hive.Server.Core/3.3/DaoLocator.cs

    r4092 r4267  
    88  public class DaoLocator {
    99   
    10     [ThreadStatic] private static IClientDao clientDao;
    11     [ThreadStatic] private static IClientConfigDao clientConfigDao;
    12     [ThreadStatic] private static IClientGroupDao clientGroupDao;
     10    [ThreadStatic] private static ISlaveDao clientDao;
     11    [ThreadStatic] private static ISlaveConfigDao clientConfigDao;
     12    [ThreadStatic] private static ISlaveGroupDao clientGroupDao;
    1313    [ThreadStatic] private static IJobDao jobDao;
    1414    [ThreadStatic] private static IPluginInfoDao pluginInfoDao;
    1515    [ThreadStatic] private static IUptimeCalendarDao uptimeCalendarDao;
    1616
    17     public static IClientDao ClientDao {
     17    public static ISlaveDao SlaveDao {
    1818      get {
    1919        if (clientDao == null)
    20           clientDao = new ClientDao();
     20          clientDao = new SlaveDao();
    2121        return clientDao;
    2222      }
    2323    }
    2424
    25     public static IClientConfigDao ClientConfigDao {
     25    public static ISlaveConfigDao SlaveConfigDao {
    2626      get {
    2727        if(clientConfigDao == null)
    28           clientConfigDao = new ClientConfigDao();
     28          clientConfigDao = new SlaveConfigDao();
    2929        return clientConfigDao;
    3030      }
    3131    }
    3232
    33     public static IClientGroupDao ClientGroupDao {
     33    public static ISlaveGroupDao SlaveGroupDao {
    3434      get {
    3535        if(clientGroupDao == null)
    36           clientGroupDao = new ClientGroupDao();
     36          clientGroupDao = new SlaveGroupDao();
    3737        return clientGroupDao;
    3838      }
Note: See TracChangeset for help on using the changeset viewer.