Class TransactionWatcher


  • public class TransactionWatcher
    extends Object
    • Method Detail

      • runQuietly

        public void runQuietly​(String ztxBulk,
                               long tid,
                               Runnable task)
        Run task only if transaction is still active in zookeeper. If the tx is no longer active then that task is not run and a debug message is logged indicating the task was ignored.
      • isActive

        public boolean isActive​(long tid)