logger.info(String.format("%d events were successfully removed.", removedEventCount));
}
@Override
public void run() {
SiteCheckingService siteCheckingService = SiteCheckingService.newSiteCheckingService();
try {
int iteration = 0;
while (rescannerContextListener.isAlive()) {
logger.info(String.format("Start sites checking."));
siteCheckingService.checkSites();
logger.info(String.format("Finish sites checking."));
Thread.sleep(60 * 1000);
iteration++;