class SMONMemoryWorkaroundService {

    public String firehoseHeapsize(StackType stackType, Set<String> componentsByHostGroup) {
        if (isDataLake(stackType)) {
            return calculateSmonMemoryParameterBasedOnServices(
                    stackType,
                    componentsByHostGroup,
                    datalakeNormalFirehoseHeapsize,
                    datalakeExtensiveFirehoseHeapsize);
        } else {
            return calculateSmonMemoryParameterBasedOnServices(
                    stackType,
                    componentsByHostGroup,
                    datahubNormalFirehoseHeapsize,
                    datahubExtensiveFirehoseHeapsize);
        }
    }

}