/** IUNI UC 第三方用户登陆日志文件定时扫描线程 */
 protected void scanOloginLogOnTime() {
   scheduler.scheduleWithFixedDelay(
       new IuniUserOloginLogProcessTask(appCtx), IUNI_UC_OLOGINLOG_SCAN_INTERVAL);
   logger.info(
       "IuniLogDataManager.scanLoginLogOnTime start scheduled task With Fixed Delay, task type: "
           + IuniLogDataConstant.IUNI_UC_OLOGIN_DATA);
 }
  @PostConstruct
  public void setup() {
    _outputQueueResolver = new DNSResolver(getQueueHost());
    final OutputQueueCheckThread outputQueueCheckThread = new OutputQueueCheckThread();
    // every 10 seconds
    _taskScheduler.scheduleWithFixedDelay(outputQueueCheckThread, 10 * 1000);

    if (getPrimaryHostname() != null && getPrimaryHostname().length() > 0) {
      _primaryResolver = new DNSResolver(getPrimaryHostname());
      _log.warn(
          "Primary Inference instance configured to be "
              + getPrimaryHostname()
              + " on "
              + _primaryResolver.getLocalHostString());
      final PrimaryCheckThread primaryCheckThread = new PrimaryCheckThread();
      _taskScheduler.scheduleWithFixedDelay(primaryCheckThread, 10 * 1000);
    }
    _executorService = Executors.newFixedThreadPool(1);
    _heartbeatService = Executors.newFixedThreadPool(1);
    startListenerThread();
  }