void restore() throws Exception {
synchronized void restore() throws Exception {
    void restore() throws Exception {        String state = getRunningStateFromStore();        if (STARTED.equals(state)) {            start(false);        } else {            stop(false, true);            if (SHUTDOWN.equals(state)) {                shutDown(false);            }        }    }