Class ConnectorHealthCheckIDMSweeper

  • All Implemented Interfaces:
    Sweepable

    @Component
    public class ConnectorHealthCheckIDMSweeper
    extends Object
    implements Sweepable
    Author:
    zaporozhec Sweeper for connectors health check
    • Constructor Detail

      • ConnectorHealthCheckIDMSweeper

        public ConnectorHealthCheckIDMSweeper()
    • Method Detail

      • sweep

        @Scheduled(fixedDelayString="${org.openiam.idm.connector.health.check.sweeptime}",
                   initialDelay=0L)
        public void sweep()
        send test connection to connectros directly each org.openiam.idm.connector.health.check.sweeptime ms. it uses a CONNECTOR_HEALTH_CHECK_LOCK redis lock to prevent another modules to perform the same.
        Specified by:
        sweep in interface Sweepable