@Override
        public Map<String, Object> snapshot() {
            Map<String, Object> state = new HashMap<>();
            state.put("EventHolder", eventHolder.getSnapshot());
            return state;
        }
class to store the state of table
modules/siddhi-core/src/main/java/io/siddhi/core/table/InMemoryTable.java