class OsVersionStatusUpdater extends ControllerMaintainer {

    @Override
    protected boolean maintain() {
        try {
            OsVersionStatus newStatus = OsVersionStatus.compute(controller());
            controller().updateOsVersionStatus(newStatus);
            return true;
        } catch (Exception e) {
            log.log(Level.WARNING, "Failed to compute version status: " + Exceptions.toMessageString(e) +
                                   ". Retrying in " + interval());
        }
        return false;
    }

    public  OsVersionStatusUpdater(Controller controller, Duration interval);

}