Free cookie consent management tool by TermsFeed Policy Generator

source: branches/HiveStatistics/sources/HeuristicLab.Services.Hive.DataAccess/3.3/Interfaces/IPersistenceManager.cs @ 13042

Last change on this file since 13042 was 12761, checked in by dglaser, 9 years ago

#2429: Worked on the maintenance WebApp plugin:

  • Space Usage Page: Displays the number of rows and allocated disk space for every database table
  • Plugin Page: Shows unused plugins and provides functionality to delete all and specific plugins
  • FactTask Page: Allows to aggregate all Job Tasks to a single task for a given job or jobs within an selected time period
  • FactClientInfo Page: Allows to aggregate consecutive FactClientInfo entries with the same state and isallowedtocalculate flag
File size: 2.5 KB
RevLine 
[12468]1#region License Information
2/* HeuristicLab
3 * Copyright (C) 2002-2015 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
4 *
5 * This file is part of HeuristicLab.
6 *
7 * HeuristicLab is free software: you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation, either version 3 of the License, or
10 * (at your option) any later version.
11 *
12 * HeuristicLab is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with HeuristicLab. If not, see <http://www.gnu.org/licenses/>.
19 */
20#endregion
21
22using System;
23using System.Data.Linq;
24using HeuristicLab.Services.Hive.DataAccess.Daos;
25using HeuristicLab.Services.Hive.DataAccess.Daos.HiveStatistics;
[12761]26using HeuristicLab.Services.Hive.DataAccess.Data;
[12468]27
28namespace HeuristicLab.Services.Hive.DataAccess.Interfaces {
29  public interface IPersistenceManager : IDisposable {
30    DataContext DataContext { get; }
31
32    #region Hive daos
33    AssignedResourceDao AssignedResourceDao { get; }
34    DowntimeDao DowntimeDao { get; }
35    JobDao JobDao { get; }
36    JobPermissionDao JobPermissionDao { get; }
37    LifecycleDao LifecycleDao { get; }
38    PluginDao PluginDao { get; }
39    PluginDataDao PluginDataDao { get; }
40    RequiredPluginDao RequiredPluginDao { get; }
41    ResourceDao ResourceDao { get; }
42    ResourcePermissionDao ResourcePermissionDao { get; }
43    SlaveDao SlaveDao { get; }
44    SlaveGroupDao SlaveGroupDao { get; }
45    StateLogDao StateLogDao { get; }
46    TaskDao TaskDao { get; }
47    TaskDataDao TaskDataDao { get; }
48    UserPriorityDao UserPriorityDao { get; }
49    #endregion
50
51    #region HiveStatistics daos
52    DimClientDao DimClientDao { get; }
53    DimJobDao DimJobDao { get; }
54    DimTimeDao DimTimeDao { get; }
55    DimUserDao DimUserDao { get; }
56    FactClientInfoDao FactClientInfoDao { get; }
57    FactTaskDao FactTaskDao { get; }
58    #endregion
59
60    #region Transaction management
61    void UseTransaction(Action call, bool repeatableRead = false, bool longRunning = false);
62    T UseTransaction<T>(Func<T> call, bool repeatableRead = false, bool longRunning = false);
63    #endregion
64
[12761]65    TableInformation GetTableInformation(string table);
[12468]66    void SubmitChanges();
67  }
68}
Note: See TracBrowser for help on using the repository browser.