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

Method stopping

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

Source from the content-addressed store, hash-verified

494 }
495
496 @GuardedBy("monitor")
497 private void stopping(final State from) {
498 if (from == State.STARTING) {
499 STOPPING_FROM_STARTING_CALLBACK.enqueueOn(listeners);
500 } else if (from == State.RUNNING) {
501 STOPPING_FROM_RUNNING_CALLBACK.enqueueOn(listeners);
502 } else {
503 throw new AssertionError();
504 }
505 }
506
507 @GuardedBy("monitor")
508 private void terminated(final State from) {

Callers 2

stopAsyncMethod · 0.95
callMethod · 0.45

Calls 1

enqueueOnMethod · 0.45

Tested by

no test coverage detected