class CacheUtil {

    public static String getDetectors(List<Detector> detectors) {
        List<String> result = new ArrayList<>();
        detectors.forEach(detector -> {
            result.add(detector.getConsumerId() + "," + detector.getUuid().toString());
        });
        return String.join(CACHE_VALUE_DELIMITER, result);
    }

}