public JobScheduler(ExecutionWindow window, EstimatedTime maxEstimatedTime) { ExecutionWindow = window; MaxEstimatedTime = maxEstimatedTime; QueuesScore.UpdateMaxScore(MaxEstimatedTime.ToSeconds()); }
public int Duration() { return(EstimatedTime.ToSeconds()); }