Class RemoteTxInvocationContext

    • Constructor Detail

      • RemoteTxInvocationContext

        public RemoteTxInvocationContext​(RemoteTransaction cacheTransaction)
    • Method Detail

      • getTransaction

        public final javax.transaction.Transaction getTransaction()
        Description copied from interface: TxInvocationContext
        Returns the tx associated with the current thread. This method MUST be guarded with a call to InvocationContext.isOriginLocal(), as Transaction are not propagated from the node where tx was started.
      • isTransactionValid

        public final boolean isTransactionValid()
        Returns:
        true if the current transaction is in a valid state to perform operations on (i.e.,RUNNING or PREPARING) or false otherwise.
      • isImplicitTransaction

        public final boolean isImplicitTransaction()
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object