class FilterTimeoutMonitor {

  void checkFilters() {
    filterRepository
        .getFilters()
        .forEach(
            filter -> {
              if (filter.isExpired()) {
                filterRepository.delete(filter.getId());
              }
            });
  }

    FilterTimeoutMonitor(final FilterRepository filterRepository);

}