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

Method terminated

output/java_guava/1.4.16/AbstractService.java:505–523  ·  view source on GitHub ↗
(final State from)

Source from the content-addressed store, hash-verified

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