コード例 #1
0
        private void Launch(RMAppAttempt application)
        {
            Runnable launcher = CreateRunnableLauncher(application, AMLauncherEventType.Launch
                                                       );

            masterEvents.AddItem(launcher);
        }
コード例 #2
0
 // This interface is intended to be used only for test cases.
 public virtual void ScanForSpeculations()
 {
     Log.Info("We got asked to run a debug speculation scan.");
     // debug
     System.Console.Out.WriteLine("We got asked to run a debug speculation scan.");
     System.Console.Out.WriteLine("There are " + scanControl.Count + " events stacked already."
                                  );
     scanControl.AddItem(new object());
     Sharpen.Thread.Yield();
 }