code: private void onJoinComplete(Integer count,
                                Result<Boolean> result)
    {
      if (count == null) {
        count = 0;
      }
      
      _joinState = _joinState.onJoinComplete(count, this);
      
      updatePodsFromHeartbeat();
      
      waitForHubHeartbeat(count, result);
  
      if (_joinLifecycle.toActive()) {
        _timer.runAfter(_joinTask, getJoinTimeout(), TimeUnit.MILLISECONDS, Result.ignore());
      }
    }
docs: Join completion