public Guard.Result evaluate(FSM fsm, Input in) { AOMEntry entry = (AOMEntry) fsm; try { entry.wait.await(); } catch (InterruptedException exc) { // XXX Log this // NO-OP } return Guard.Result.DEFERED; } };
public Guard.Result evaluate(FSM fsm, Input in) { AOMEntry entry = (AOMEntry) fsm; try { entry.wait.await(); } catch (InterruptedException exc) { // XXX Log this // NO-OP } return Guard.Result.DEFERED; } };
private boolean waitUntilRunning() { if (debug) { ORBUtility.dprint(this, "Calling waitUntilRunning on poa " + this); } while (state < STATE_RUN) { try { adapterActivatorCV.await(); } catch (InterruptedException exc) { // NO-OP } } if (debug) { ORBUtility.dprint(this, "Exiting waitUntilRunning on poa " + this); } // Note that a POA could be destroyed while in STATE_INIT due to a failure in the AdapterActivator upcall. return (state == STATE_RUN); }
private boolean waitUntilRunning() { if (debug) { ORBUtility.dprint(this, "Calling waitUntilRunning on poa " + this); } while (state < STATE_RUN) { try { adapterActivatorCV.await(); } catch (InterruptedException exc) { // NO-OP } } if (debug) { ORBUtility.dprint(this, "Exiting waitUntilRunning on poa " + this); } // Note that a POA could be destroyed while in STATE_INIT due to a failure in the AdapterActivator upcall. return (state == STATE_RUN); }
poa.beingDestroyedCV.await();
poa.beingDestroyedCV.await();
beingDestroyedCV.await();
poa.invokeCV.await();
beingDestroyedCV.await();
poa.invokeCV.await();