Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
08/06/10 09:20:18 (14 years ago)
Author:
cneumuel
Message:

refactoring of Result-Polling of HiveExperiment, polling is now much faster and code is cleaner (1092#)

Location:
branches/3.3-HiveMigration/sources/HeuristicLab.Hive/HeuristicLab.Hive.Server.Core/3.3
Files:
4 edited

Legend:

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

    • Property svn:ignore
      •  

        old new  
        11bin
        22obj
         3HeuristicLab.Hive.Server.Core-3.3.csproj.user
  • branches/3.3-HiveMigration/sources/HeuristicLab.Hive/HeuristicLab.Hive.Server.Core/3.3/Facades/ClientFacade.cs

    r4107 r4170  
    6767    }
    6868
    69     public ResponseResultReceived StoreFinishedJobResult(Guid clientId, Guid jobId, byte[] result, double percentage, Exception exception) {
     69    public ResponseResultReceived StoreFinishedJobResult(Guid clientId, Guid jobId, byte[] result, double percentage, string exception) {
    7070      using (contextFactory.GetContext()) {
    7171        return clientCommunicator.StoreFinishedJobResult(clientId, jobId, result, percentage, exception);
     
    8989    }
    9090
    91     public ResponseResultReceived ProcessSnapshot(Guid clientId, Guid jobId, byte[] result, double percentage, Exception exception) {
     91    public ResponseResultReceived ProcessSnapshot(Guid clientId, Guid jobId, byte[] result, double percentage, string exception) {
    9292      using (contextFactory.GetContext()) {
    9393        return clientCommunicator.ProcessSnapshot(clientId, jobId, result, percentage, exception);
  • branches/3.3-HiveMigration/sources/HeuristicLab.Hive/HeuristicLab.Hive.Server.Core/3.3/Facades/ExecutionEngineFacade.cs

    r4137 r4170  
    7575      }
    7676    }
     77
     78
     79    public ResponseObject<JobResultList> GetAllJobResults(IEnumerable<Guid> jobIds) {
     80      using (contextFactory.GetContext(false)) {
     81        return jobManager.GetAllJobResults(jobIds);
     82      }
     83    }
    7784    #endregion
     85
     86
    7887  }
    7988}
  • branches/3.3-HiveMigration/sources/HeuristicLab.Hive/HeuristicLab.Hive.Server.Core/3.3/Facades/ServerConsoleFacade.cs

    r4137 r4170  
    154154    }
    155155
    156     public ResponseList<JobResult> GetAllJobResults(Guid jobId) {
    157       using (contextFactory.GetContext(false)) {
    158         secMan.Authorize("AccessJobResults", sessionID, jobId);
    159         return jobManager.GetAllJobResults(jobId);
     156    public ResponseObject<JobResultList> GetAllJobResults(IEnumerable<Guid> jobIds) {
     157      using (contextFactory.GetContext(false)) {
     158        //secMan.Authorize("AccessJobResults", sessionID, jobId); skip authorization
     159        return jobManager.GetAllJobResults(jobIds);
    160160      }
    161161    }
Note: See TracChangeset for help on using the changeset viewer.