class RqueueSystemManagerServiceImpl implements RqueueSystemManagerService {

  @Override
  @Async
  public void onApplicationEvent(RqueueBootstrapEvent event) {
    if (event.isStart()) {
      List<QueueDetail> queueDetails = EndpointRegistry.getActiveQueueDetails();
      if (queueDetails.isEmpty()) {
        return;
      }
      createOrUpdateConfigs(queueDetails);
    }
  }

  @Autowired public  RqueueSystemManagerServiceImpl(
      RqueueConfig rqueueConfig,
      RqueueRedisTemplate<String> stringRqueueRedisTemplate,
      RqueueSystemConfigDao rqueueSystemConfigDao);

}