@JsonIgnore
    public List<DocRef> getEnabledDocRefs(final InternalStatisticKey internalStatisticKey) {
        Function<InternalStatisticsConfig, List<DocRef>> func = KEY_TO_DOC_REFS_GETTER_MAP.get(internalStatisticKey);
        Objects.requireNonNull(func, () -> LogUtil.message(
                "Key {} is not known. You need to added it to KEY_TO_DOC_REFS_GETTER_MAP"));

        return func.apply(this).stream()
                .filter(docRef -> enabledStoreTypes.contains(docRef.getType()))
                .collect(Collectors.toList());
    }
Get the list of DocRefs that correspond to a particular key, where the type of the {@link DocRef}
is in the list of enabledStoreTypes.
stroom-statistics/stroom-statistics-impl/src/main/java/stroom/statistics/impl/InternalStatisticsConfig.java