Esempio n. 1
0
 public void SetWork(ExecutorWorkload configuration)
 {
     if (configuration.ExecutorId != ExecutorId)
     {
         throw new Exception(String.Format
                                 ("Workload of a different executor ({0}) used to set workload for {1} (ID = {2})", configuration.ExecutorId, ExecutorName, ExecutorId));
     }
     _workload = configuration;
 }
Esempio n. 2
0
 public abstract ExecutorState ViewNewProtocols(IEnumerable<ExecutionProtocol> protocols, out ExecutorWorkload generatedWorkload);
Esempio n. 3
0
 public abstract ExecutorState ViewNewProtocols(IEnumerable <ExecutionProtocol> protocols, out ExecutorWorkload generatedWorkload);
Esempio n. 4
0
 public void SetWork(ExecutorWorkload configuration)
 {
     if (configuration.ExecutorId != ExecutorId)
     {
         throw new Exception(String.Format
             ("Workload of a different executor ({0}) used to set workload for {1} (ID = {2})", configuration.ExecutorId, ExecutorName, ExecutorId));
     }
     _workload = configuration;
 }