コード例 #1
0
ファイル: Logger.cs プロジェクト: itu-cstp/BDSAMcGyvers
 /// <summary>
 /// Method invoked by any state change in BenchMarkSystem. Publishes a running commentary
 /// when any job is submitted, cancelled, run, failed or terminated
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 public static void OnStateChanged(object sender, StateChangedEventArgs e)
 {
     Console.WriteLine("Job state {0}", e.State);
 }
コード例 #2
0
ファイル: Logger.cs プロジェクト: BDSAMacGyvers/AS38
 /// <summary>
 /// Method invoked by any state change in BenchMarkSystem. Publishes a running commentary 
 /// when any job is submitted, cancelled, run, failed or terminated
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 public static void OnStateChanged(object sender, StateChangedEventArgs e)
 {
     Console.WriteLine("Job state {0}", e.State);
 }
コード例 #3
0
ファイル: Logger.cs プロジェクト: BDSAMacGyvers/AS41
 /// <summary>
 /// Method invoked by any state change in BenchMarkSystem. Publishes a running commentary 
 /// when any job is submitted, cancelled, run, failed or terminated
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 public static void OnStateChanged(object sender, StateChangedEventArgs e)
 {
     DAO.AddEntry(DateTime.Now, e.Job.State.ToString(), e.Job.Owner.Name, e.Job.jobId);
 }
コード例 #4
0
ファイル: Logger.cs プロジェクト: BDSAMacGyvers/AS41
 /// <summary>
 /// Method invoked by any state change in BenchMarkSystem. Publishes a running commentary
 /// when any job is submitted, cancelled, run, failed or terminated
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 public static void OnStateChanged(object sender, StateChangedEventArgs e)
 {
     DAO.AddEntry(DateTime.Now, e.Job.State.ToString(), e.Job.Owner.Name, e.Job.jobId);
 }