public void restoreLastState() {
        for (SiddhiAppRuntime siddhiAppRuntime : siddhiAppRuntimeMap.values()) {
            try {
                siddhiAppRuntime.restoreLastRevision();
            } catch (CannotRestoreSiddhiAppStateException e) {
                log.error("Error in restoring Siddhi app " + siddhiAppRuntime.getName(), e);
            }
        }
    }
Method used to restore state of Current Siddhi Manager instance. This will internally call all
SiddhiAppRuntimes
within Siddhi Manager.
modules/siddhi-core/src/main/java/io/siddhi/core/SiddhiManager.java