class GlobalConfChecker {

    @Scheduled(fixedRate = JOB_REPEAT_INTERVAL_MS, initialDelay = INITIAL_DELAY_MS)
    @Transactional
    public void updateServerConf() {
        // In clustered setup slave nodes may skip globalconf updates
        if (SLAVE.equals(SystemProperties.getServerNodeType())) {
            log.debug("This is a slave node - skip globalconf updates");
            return;
        }

        if (restoreInProgress) {
            log.debug("Backup restore in progress - skipping globalconf update");
            return;
        }

        try {
            log.debug("Check globalconf for updates");
            checkGlobalConf();
        } catch (Exception e) {
            log.error("Checking globalconf for updates failed", e);
            throw e;
        }
    }

    @Autowired public  GlobalConfChecker(GlobalConfCheckerHelper globalConfCheckerHelper, GlobalConfFacade globalConfFacade,
            SignerProxyFacade signerProxyFacade);

}