code: private Target updateTargetStatus(final JpaTarget toUpdate, final URI address) {
          boolean storeEager = isStoreEager(toUpdate, address);
  
          if (TargetUpdateStatus.UNKNOWN.equals(toUpdate.getUpdateStatus())) {
              toUpdate.setUpdateStatus(TargetUpdateStatus.REGISTERED);
              storeEager = true;
          }
  
          if (storeEager || !queue.offer(new TargetPoll(toUpdate))) {
              toUpdate.setAddress(address.toString());
              toUpdate.setLastTargetQuery(System.currentTimeMillis());
  
              afterCommit.afterCommit(() -> eventPublisher.publishEvent(new TargetPollEvent(toUpdate, bus.getId())));
  
              return targetRepository.save(toUpdate);
          }
  
          return toUpdate;
      }
docs: Stores target directly to DB in case either {@link Target#getAddress()}
  or {@link Target#getUpdateStatus()} changes or the buffer queue is full.