class StaleAlertRunnable extends AlertRunnable {

  public Map<Long, List<Long>> prepareHostDefinitions(Long clusterId) {
    Map<Long, List<Long>> alertDefinitionsToHosts = new HashMap<>();

    alertDefinitionsHolder.getData().entrySet().stream()
        .filter(e -> e.getValue().getClusters() != null)
        .filter(e -> e.getValue().getClusters().get(clusterId) != null)
        .forEach(e -> e.getValue().getClusters().get(clusterId).getAlertDefinitions().stream()
            .forEach(l -> {
              alertDefinitionsToHosts.putIfAbsent(l.getDefinitionId(), new ArrayList<>());
              alertDefinitionsToHosts.get(l.getDefinitionId()).add(e.getKey());
            }));
    return alertDefinitionsToHosts;
  }

  public  StaleAlertRunnable(String definitionName);

}