Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
06/18/09 15:01:10 (15 years ago)
Author:
gkronber
Message:

Refactored JobManager and added a plugin that contains a bridge between grid and hive. The bridge allows to use the execution engine service of Hive as a grid server. This way CEDMA job execution and DistributedEngine job execution can either use Hive or Grid as backend. #642 (Hive backend for CEDMA)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.CEDMA.Server/3.3/Server.cs

    r2050 r2058  
    3030using HeuristicLab.CEDMA.DB;
    3131using System.ServiceModel.Description;
     32using HeuristicLab.Grid;
     33using HeuristicLab.Grid.HiveBridge;
    3234
    3335namespace HeuristicLab.CEDMA.Server {
     
    105107    internal void Connect(string serverUrl) {
    106108      dispatcher = new SimpleDispatcher(store);
     109      IGridServer gridServer = null;
    107110      if (serverUrl.Contains("ExecutionEngine")) {
    108         executer = new HiveExecuter(dispatcher, store, serverUrl);
     111        gridServer = new HiveGridServerWrapper(serverUrl);
    109112      } else {
    110113        // default is grid backend
    111         executer = new GridExecuter(dispatcher, store, serverUrl);
     114        gridServer = new GridServerProxy(serverUrl);
    112115      }
     116      executer = new GridExecuter(dispatcher, store, gridServer);
    113117      executer.Start();
    114118    }
Note: See TracChangeset for help on using the changeset viewer.