@Override
  public int getStatus() throws SystemException {
    if (!isActive) {
      throw new SystemException(
          "TransactionManager invalid");
    }
    GlobalTransaction gtx = getGlobalTransaction();
    if (gtx == null) {
      return Status.STATUS_NO_TRANSACTION;
    }
    return gtx.getStatus();
  }
Get the status of the global transaction associated with this thread

@see javax.transaction.TransactionManager#getStatus()
geode-core/src/main/java/org/apache/geode/internal/jta/TransactionManagerImpl.java