| Modifier and Type | Field and Description |
|---|---|
| private final int | outcomeState
The outcome state of the transaction: have some or all resources been committed? |
| public static final int | STATE_COMMITTED
Committed outcome state. |
| public static final int | STATE_MIXED
Mixed outcome state. |
| public static final int | STATE_ROLLED_BACK
Rolledback outcome state. |
| public static final int | STATE_UNKNOWN
Unknown outcome state. |
| Access | Constructor and Description |
|---|---|
| public | HeuristicCompletionException(int
the outcome state of the transaction outcomeState, Throwable the root cause from the transaction API in use cause)Constructor for HeuristicCompletionException. |
| Modifier and Type | Method and Description |
|---|---|
| public int | getOutcomeState()
Return the outcome state of the transaction state, as one of the constants in this class. |
| public static String |
| outcomeState | back to summary |
|---|---|
| private final int outcomeState The outcome state of the transaction: have some or all resources been committed? | |
| STATE_COMMITTED | back to summary |
|---|---|
| public static final int STATE_COMMITTED Committed outcome state. | |
| STATE_MIXED | back to summary |
|---|---|
| public static final int STATE_MIXED Mixed outcome state. | |
| STATE_ROLLED_BACK | back to summary |
|---|---|
| public static final int STATE_ROLLED_BACK Rolledback outcome state. | |
| STATE_UNKNOWN | back to summary |
|---|---|
| public static final int STATE_UNKNOWN Unknown outcome state. | |
| HeuristicCompletionException | back to summary |
|---|---|
| public HeuristicCompletionException(int outcomeState, Throwable cause) Constructor for HeuristicCompletionException.
| |
| getOutcomeState | back to summary |
|---|---|
| public int getOutcomeState() Return the outcome state of the transaction state, as one of the constants in this class.
| |
| getStateString | back to summary |
|---|---|
| public static String getStateString(int state) | |