Class TransactionContext

    • Constructor Detail

      • TransactionContext

        public TransactionContext()
    • Method Detail

      • getIsolationLevel

        public int getIsolationLevel()
      • setIsolationLevel

        public void setIsolationLevel​(int isolationLevel)
      • getCreationTime

        public long getCreationTime()
      • setCreationTime

        public void setCreationTime​(long time)
      • setThreadId

        public void setThreadId​(String threadId)
      • getThreadId

        public String getThreadId()
      • setTransaction

        public void setTransaction​(Transaction transaction)
      • getTransactionId

        public String getTransactionId()
      • getSuspendedBy

        public Set<String> getSuspendedBy()
      • setXid

        public void setXid​(Xid xid)
        set a transaction context.
        Parameters:
        xid - transaction context.
      • getXid

        public Xid getXid()
        Returns:
        an Xid object carrying a transaction context, if any.