コード例 #1
0
 /**
  * Calls syncStart() on the Controller and blocks the current thread until the Controller is
  * Started. This could throw a ClockStartedError if the Controller is not in the Prefetched state.
  *
  * @return boolean indicating whether the transition was successful.
  */
 public boolean blockingSyncStart(Time t) {
   setState(Controller.Started);
   controller.syncStart(t);
   return waitForState();
 }