Class ConnectorServiceDownCheckIDMSweeper

  • All Implemented Interfaces:
    Sweepable

    @Component
    public class ConnectorServiceDownCheckIDMSweeper
    extends Object
    implements Sweepable
    Author:
    anton.k Sweeper to check and notify if connector is down
    • Method Detail

      • sweep

        @Scheduled(fixedDelayString="${org.openiam.idm.connector.service.down.check.sweep.time}",
                   initialDelay=90000L)
        public void sweep()
        check last connector response every org.openiam.idm.connector.service.down.check.sweep.time ms. if there is no response from connector for active and not manual - connector is down. use CONNECTOR_DOWN_SERVICE_CHECK_LOCK redis lock to prevent another IDM module (if any) to perform the same.
        Specified by:
        sweep in interface Sweepable