Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
02/01/11 15:51:11 (13 years ago)
Author:
cneumuel
Message:

#1233

  • changed the workflow of aquireing a new job from server.
    • if a job is available for calculation, the slave receives the jobId already with the heartbeats. The job is then exclusively assigned to this slave.
  • extended the metainfo for a slave by OperatingSystem and CpuArchitecture
  • enhanced the way plugin-dependencies are discovered by using the types used by XmlGenerator. Now only mimimum amount of plugins are transferred.
  • selection of waiting jobs now consideres assigned slave-group
  • more unit tests for service
  • added unit tests for experiment manager
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive/3.4/PersistenceUtil.cs

    r5156 r5404  
    2222using System.IO;
    2323using HeuristicLab.Persistence.Default.Xml;
     24using System.Collections.Generic;
     25using HeuristicLab.PluginInfrastructure;
     26using System;
     27using HeuristicLab.Persistence.Core;
    2428
    2529namespace HeuristicLab.Clients.Hive {
    2630  public static class PersistenceUtil {
     31    public static byte[] Serialize(object obj, out IEnumerable<Type> types) {
     32      MemoryStream memStream = new MemoryStream();
     33      XmlGenerator.Serialize(obj, memStream, ConfigurationService.Instance.GetConfiguration(new XmlFormat()), false, out types);
     34      byte[] jobByteArray = memStream.ToArray();
     35      memStream.Dispose();
     36      return jobByteArray;
     37    }
     38
    2739    public static byte[] Serialize(object obj) {
    2840      MemoryStream memStream = new MemoryStream();
Note: See TracChangeset for help on using the changeset viewer.