Beispiel #1
0
 /// <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);
 }
Beispiel #2
0
 /// <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);
 }
Beispiel #3
0
 /// <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);
 }
Beispiel #4
0
 /// <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);
 }