docs: public void waitForReplayCompletion() {
          if (tc.isEntryEnabled())
              Tr.entry(tc, "waitForReplayCompletion");
  
          if (!_replayCompleted) {
              try {
                  if (tc.isEventEnabled())
                      Tr.event(tc, "starting to wait for replay completion");
  
                  _replayInProgress.waitEvent();
  
                  if (tc.isEventEnabled())
                      Tr.event(tc, "completed wait for replay completion");
              } catch (InterruptedException exc) {
                  FFDCFilter.processException(exc, "com.ibm.tx.jta.impl.RecoveryManager.waitForReplayCompletion", "1242", this);
                  if (tc.isEventEnabled())
                      Tr.event(tc, "Wait for resync complete interrupted.");
              }
          }
  
          if (tc.isEntryEnabled())
              Tr.exit(tc, "waitForReplayCompletion");
      }