class RequestManager {

    public ConnectionState getOrCreate(int id) {
        return connections.computeIfAbsent(id, key -> new ConnectionState(id));
    }

    public  RequestManager(Set<Integer> voterIds,
                          int retryBackoffMs,
                          int requestTimeoutMs,
                          Random random);

}