Package org.openiam.idm.sweeper
Class ConnectorServiceDownCheckIDMSweeper
- java.lang.Object
-
- org.openiam.idm.sweeper.ConnectorServiceDownCheckIDMSweeper
-
-
Constructor Summary
Constructors Constructor Description ConnectorServiceDownCheckIDMSweeper(org.redisson.api.RedissonClient redissonClient, ManagedSystemRabbitMQService managedSystemRabbitMQService, ConnectorReplyElasticSearchRepository connectorReplyElasticSearchRepository, PropertyValueCache propertyValueCache, UserRabbitMQService userRabbitMQService, MailRabbitMQService mailRabbitMQService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
sweep()
check last connector response every org.openiam.idm.connector.service.down.check.sweep.time ms.
-
-
-
Constructor Detail
-
ConnectorServiceDownCheckIDMSweeper
@Autowired public ConnectorServiceDownCheckIDMSweeper(org.redisson.api.RedissonClient redissonClient, ManagedSystemRabbitMQService managedSystemRabbitMQService, ConnectorReplyElasticSearchRepository connectorReplyElasticSearchRepository, PropertyValueCache propertyValueCache, UserRabbitMQService userRabbitMQService, MailRabbitMQService mailRabbitMQService)
-
-
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.
-
-