code: public void logLPSState() throws SystemException {
          if (tc.isEntryEnabled())
              Tr.entry(tc, "logLPSState");
  
          // Only log if configured for this server.
          if (_configProvider.isLoggingForHeuristicReportingEnabled())
              _status.setState(TransactionState.STATE_LAST_PARTICIPANT);
  
          if (tc.isEntryEnabled())
              Tr.exit(tc, "logLPSState");
      }
docs: This method allows the transactions RegisteredResources object to initiate
  a change in state of the transaction after all 2PC resources have been
  successfully prepared in a LPS enabled transaction. Once the final 1PC
  resource has then been completed RegisteredResources.distributePrepare() will
  return with the direction in which the 1PC completed.
  
  @exception SystemException
  Thrown if the state change is invalid.