public void putSnapshotState(Long id, Snapshot snapshot) {
        this.snapshotStates.put(id, snapshot);
    }
The class which encloses multiple snapshot states.
modules/siddhi-core/src/main/java/io/siddhi/core/util/snapshot/state/SnapshotStateList.java