class DetectorMapper {

    public List<Detector> getDetectorsFromCache(MetricDefinition metricDefinition) {
        String cacheKey = CacheUtil.getKey(metricDefinition.getTags().getKv());
        return cache.get(cacheKey);
    }

    public  DetectorMapper(DetectorSource detectorSource, DetectorMapperCache cache, int detectorCacheUpdateTimePeriod);
    public  DetectorMapper(DetectorSource detectorSource, Config config, MetricRegistry metricRegistry);

}