public void run() {
for (TickListener listener : storagesToClean) {
if ((ticks % listener.getFactor()) == 0) {
logger.debug("send tickHappend for " + listener + " on " + ticks + " tick");
listener.tickHappened(new TickEvent(TickCounter.class, currentTick));
}
}
}