@Override
    public byte[] load(String siddhiAppId, String revision) {


        Map<String, byte[]> executionPersistenceMap = persistenceMap.get(siddhiAppId);
        if (executionPersistenceMap == null) {
            log.warn("Data not found for the siddhi app " + siddhiAppId);
            return null;
        }
        return executionPersistenceMap.get(revision);
    }
Implementation of {@link PersistenceStore} which will store the state in-memory.
modules/siddhi-core/src/main/java/io/siddhi/core/util/persistence/InMemoryPersistenceStore.java