public StateData GetState(ConsoleId consoleId) { if (consoleId == null) { throw new ArgumentNullException(nameof(consoleId)); } return(_connection.GetStateData(consoleId.JobId)); }
public static bool CheckIfAtomIsFinished(this JobStorageConnection connection, string atomId) { var atomState = connection.GetStateData(atomId); return(atomState.Name == SucceededState.StateName); }
public override StateData GetStateData(string jobId) { return(_postgreSqlConnection.GetStateData(jobId)); }
public override StateData GetStateData(string jobId) { return(_sqlServerConnection.GetStateData(jobId)); }