@Override
        public void restore(Map<String, Object> state) {
            eventHolder.restore((SnapshotStateList) state.get("EventHolder"));
        }
class to store the state of table
modules/siddhi-core/src/main/java/io/siddhi/core/table/InMemoryTable.java