Class TransactionMetadata

    • Constructor Detail

      • TransactionMetadata

        public TransactionMetadata()
    • Method Detail

      • getAssociatedSession

        public String getAssociatedSession()
        Description copied from interface: Transaction
        Get the session associated with the this transaction. May be null for an unassociated Global transaction.
        Specified by:
        getAssociatedSession in interface Transaction
        Returns:
      • setAssociatedSession

        public void setAssociatedSession​(String associatedSession)
      • getScope

        public String getScope()
        Description copied from interface: Transaction
        Get the scope for the transaction. Will be one of GLOBAL, LOCAL, REQUEST or INHERITED
        Specified by:
        getScope in interface Transaction
        Returns:
      • setScope

        public void setScope​(String scope)
      • getId

        public String getId()
        Description copied from interface: Transaction
        Returns the Xid string for GLOBAL transactions or the Transaction id string LOCAL/REQUEST.
        Specified by:
        getId in interface Transaction
        Returns:
      • setId

        public void setId​(String id)
      • getCreatedTime

        public long getCreatedTime()
        Description copied from interface: Transaction
        Get the local creation time.
        Specified by:
        getCreatedTime in interface Transaction
        Returns:
      • setCreatedTime

        public void setCreatedTime​(long time)