public Map<String, Map<String, State>> getAllStates() {
        return states;
    }
State holder for  partitioned use case
modules/siddhi-core/src/main/java/io/siddhi/core/util/snapshot/state/PartitionStateHolder.java