Ejemplo n.º 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);
 }
Ejemplo n.º 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);
 }
Ejemplo n.º 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);
 }
Ejemplo n.º 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);
 }