public TXStateProxy pauseTransaction() {
    return internalSuspend(true);
  }
If the current thread is in a transaction then pause will cause it to no longer be in a
transaction. The same thread is expected to unpause/resume the transaction later. The thread
should not start a new transaction after it paused a transaction.

@return the state of the transaction or null. Pass this value to
        {@link TXManagerImpl#unpauseTransaction} to reactivate the puased/suspended
        transaction.
geode-core/src/main/java/org/apache/geode/internal/cache/TXManagerImpl.java