Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
08/27/15 14:52:42 (9 years ago)
Author:
jkarder
Message:

#2468: implemented checkpointing

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Clients.Hive.Slave/3.3/SlaveTask.cs

    r12012 r12920  
    169169    }
    170170
     171    public Tuple<TaskData, DateTime> GetTaskDataSnapshot() {
     172      Tuple<TaskData, DateTime> snapshot = null;
     173      try {
     174        snapshot = executor.GetTaskDataSnapshot();
     175        if (snapshot == null) return Tuple.Create(originalTaskData, DateTime.Now);
     176      }
     177      catch (Exception ex) {
     178        EventLogManager.LogException(ex);
     179      }
     180      return snapshot;
     181    }
     182
    171183    public TaskData GetTaskData() {
    172184      TaskData data = null;
Note: See TracChangeset for help on using the changeset viewer.