public void checkDateAndGetStat(boolean force) {
        if (force || nextDate.before(new Date())) {
            logger.info(getName() + " collecting now...");
            collectStat(force);
            nextDate = state.getNextDate();
        }
        else {
            logger.debug(getName() + " going to collect " + nextDate);
        }
    }