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

Method startAsync

output/java_guava/1.4.17/AbstractService.java:203–221  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

201 protected abstract void doStop();
202
203 @CanIgnoreReturnValue
204 @Override
205 public final Service startAsync() {
206 if (monitor.enterIf(isStartable)) {
207 try {
208 snapshot = new StateSnapshot(STARTING);
209 starting();
210 doStart();
211 } catch (Throwable startupFailure) {
212 notifyFailed(startupFailure);
213 } finally {
214 monitor.leave();
215 executeListeners();
216 }
217 } else {
218 throw new IllegalStateException("Service " + this + " has already been started");
219 }
220 return this;
221 }
222
223 @CanIgnoreReturnValue
224 @Override

Callers

nothing calls this directly

Calls 6

startingMethod · 0.95
doStartMethod · 0.95
notifyFailedMethod · 0.95
executeListenersMethod · 0.95
enterIfMethod · 0.45
leaveMethod · 0.45

Tested by

no test coverage detected