public class TransactionInfo
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static char |
TRANSACTION_ACTIVE
State of transaction is active.
|
static char |
TRANSACTION_ENDSUCCESS
State of transaction is endsuccess.
|
static char |
TRANSACTION_PREPARED
State of transaction is prepared.
|
static char |
TRANSACTION_ROLLBACKONLY
State of transaction is rollbackonly.
|
static char |
TRANSACTION_SUSPENDED
State of transaction is suspended.
|
static char |
TRANSACTION_UNKNOWN
State of transaction is unknown.
|
Modifier and Type | Method and Description |
---|---|
static TransactionInfo |
from(javax.management.openmbean.CompositeData cd)
For Internal use only, may be removed or deprecated in future.
|
byte[] |
getBranchQualifier()
Returns the branch qualifier of the transaction.
|
int |
getFormatId()
Returns the format id of the transaction.
|
byte[] |
getGlobalTransactionId()
Returns the global transaction id of the transaction.
|
char |
getState()
Returns the state of the transaction.
|
java.lang.String |
toString()
Generate a string representation of this TransactionInfo.
|
public static final char TRANSACTION_ACTIVE
public static final char TRANSACTION_ENDSUCCESS
public static final char TRANSACTION_ROLLBACKONLY
public static final char TRANSACTION_PREPARED
public static final char TRANSACTION_SUSPENDED
public static final char TRANSACTION_UNKNOWN
public char getState()
public int getFormatId()
public byte[] getBranchQualifier()
public byte[] getGlobalTransactionId()
public java.lang.String toString()
toString
in class java.lang.Object
public static TransactionInfo from(javax.management.openmbean.CompositeData cd)
java.lang.IllegalArgumentException
- if CompositeType does not match
or if a null CompositeData is passed.Copyright © Cloud Software Group, Inc. All rights reserved