<commit_before>package com.salesforce.storm.spout.sideline.request;

import com.salesforce.storm.spout.sideline.kafka.consumerState.ConsumerState;
import com.salesforce.storm.spout.sideline.trigger.SidelineIdentifier;

import java.util.HashMap;
import java.util.Map;

public class InMemoryManager implements RequestManager {

    private Map<SidelineIdentifier, ConsumerState> state = new HashMap<>();

    public ConsumerState get(SidelineIdentifier id) {
        return this.state.get(id);
    }

    public void set(SidelineIdentifier id, ConsumerState state) {
        this.state.put(id, state);
    }
}<commit_msg>Add todo<commit_after>package com.salesforce.storm.spout.sideline.request;

import com.salesforce.storm.spout.sideline.kafka.consumerState.ConsumerState;
import com.salesforce.storm.spout.sideline.trigger.SidelineIdentifier;

import java.util.HashMap;
import java.util.Map;

// TODO: Need an implementation that uses a persistence state manager
public class InMemoryManager implements RequestManager {

    private Map<SidelineIdentifier, ConsumerState> state = new HashMap<>();

    public ConsumerState get(SidelineIdentifier id) {
        return this.state.get(id);
    }

    public void set(SidelineIdentifier id, ConsumerState state) {
        this.state.put(id, state);
    }
}
{'fraction_non_alphanumeric': 0.09593246354566386, 'fraction_numerical': 0.0, 'mean_word_length': 4.5965665236051505, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4558365', 'n_tokens_mistral': 394, 'n_tokens_neox': 373, 'n_words': 81}