code: public static TransactionImpl[] getAllTransactions()
      {
          if (tc.isEntryEnabled()) Tr.entry(tc, "getAllTransactions");
  
          final Collection<TransactionImpl> txns = localTIDMap.values();
  
          if (txns != null)
          {
              if (tc.isEntryEnabled()) Tr.exit(tc, "getAllTransactions", txns);
              return txns.toArray(noTxns);
          }
  
          if (tc.isEntryEnabled()) Tr.exit(tc, "getAllTransactions", noTxns);
          return noTxns;
      }
docs: Return an array of all the transactions currently
  running on the server.
  @return An array of all the server's transactions.