@Deprecated public enum HeuristicStatus extends Enum<HeuristicStatus>
| Enum Constant and Description |
|---|
HEURISTIC_COMMIT
Deprecated.
|
HEURISTIC_HAZARD
Deprecated.
|
HEURISTIC_MIXED
Deprecated.
|
HEURISTIC_ROLLBACK
Deprecated.
|
UNKNOWN
Deprecated.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
UNKNOWN_XA_ERROR_CODE
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getXAErrorCode()
Deprecated.
|
static HeuristicStatus |
intToStatus(int heuristic)
Deprecated.
|
static HeuristicStatus |
valueOf(String name)
Deprecated.
Returns the enum constant of this type with the specified name.
|
static HeuristicStatus[] |
values()
Deprecated.
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HeuristicStatus HEURISTIC_ROLLBACK
public static final HeuristicStatus HEURISTIC_COMMIT
public static final HeuristicStatus HEURISTIC_MIXED
public static final HeuristicStatus HEURISTIC_HAZARD
public static final HeuristicStatus UNKNOWN
public static final int UNKNOWN_XA_ERROR_CODE
public static HeuristicStatus[] values()
for (HeuristicStatus c : HeuristicStatus.values()) System.out.println(c);
public static HeuristicStatus valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static HeuristicStatus intToStatus(int heuristic)
public int getXAErrorCode()
Copyright © 2016 JBoss by Red Hat. All Rights Reserved.