public final synchronized void stop()

in iep-service/src/main/java/com/netflix/iep/service/AbstractService.java [67:78]


  public final synchronized void stop() throws Exception {
    if (state == State.STARTING || state == State.RUNNING) {
      state = State.STOPPING;
      try {
        stopImpl();
        state = State.TERMINATED;
      } catch (Exception e) {
        state = State.FAILED;
        throw e;
      }
    }
  }