MCPcopy Create free account
hub / github.com/antlr/codebuff / terminated

Method terminated

output/java_guava/1.4.19/AbstractService.java:507–525  ·  view source on GitHub ↗
(final State from)

Source from the content-addressed store, hash-verified

505 }
506
507 @GuardedBy("monitor")
508 private void terminated(final State from) {
509 switch (from) {
510 case NEW:
511 TERMINATED_FROM_NEW_CALLBACK.enqueueOn(listeners);
512 break;
513 case RUNNING:
514 TERMINATED_FROM_RUNNING_CALLBACK.enqueueOn(listeners);
515 break;
516 case STOPPING:
517 TERMINATED_FROM_STOPPING_CALLBACK.enqueueOn(listeners);
518 break;
519 case STARTING:
520 case TERMINATED:
521 case FAILED:
522 default:
523 throw new AssertionError();
524 }
525 }
526
527 @GuardedBy("monitor")
528 private void failed(

Callers 3

stopAsyncMethod · 0.95
notifyStoppedMethod · 0.95
callMethod · 0.45

Calls 1

enqueueOnMethod · 0.45

Tested by

no test coverage detected