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

Method stopping

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

Source from the content-addressed store, hash-verified

492 }
493
494 @GuardedBy("monitor")
495 private void stopping(final State from) {
496 if (from == State.STARTING) {
497 STOPPING_FROM_STARTING_CALLBACK.enqueueOn(listeners);
498 } else if (from == State.RUNNING) {
499 STOPPING_FROM_RUNNING_CALLBACK.enqueueOn(listeners);
500 } else {
501 throw new AssertionError();
502 }
503 }
504
505 @GuardedBy("monitor")
506 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