static OptionalInt getIntParam(final Map<String, String> params,
                                   final String paramKey) {
        if (NullSafe.isEmptyMap(params) || NullSafe.isBlankString(paramKey)) {
            return OptionalInt.empty();
        } else {
            final String valStr = params.get(paramKey);
            if (NullSafe.isBlankString(valStr)) {
                return OptionalInt.empty();
            } else {
                return OptionalInt.of(Integer.parseInt(valStr));
            }
        }
    }
@return A {@link SystemInfoResult} for part of the system. e.g. for dumping debug information,
the sizes of in memory collections/queues, etc.
Implementations do not need to perform permission checks unless additional permissions beyond
VIEW_SYSTEM_INFO_PERMISSION are required.
stroom-util/src/main/java/stroom/util/sysinfo/HasSystemInfo.java