public enum LRAStatus extends Enum<LRAStatus>
| Enum Constant and Description |
|---|
Active
The LRA has not yet been asked to Close or Cancel
|
Cancelled
All participants associated with the LRA have successfully
compensated for any work they performed when the LRA was active
|
Cancelling
The LRA is currently informing participants that they should
compensate for any work they performed when the LRA was active
|
Closed
The LRA successfully told all participants to complete
|
Closing
The LRA is asking all participants to complete
|
FailedToCancel
One or more participants associated with the LRA were not able to
compensate for the work they performed when the LRA was active
|
FailedToClose
One or more participants associated with the LRA were not able to
complete the work they performed when the LRA was active
|
| Modifier and Type | Method and Description |
|---|---|
static LRAStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LRAStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LRAStatus Active
public static final LRAStatus Cancelling
public static final LRAStatus Cancelled
public static final LRAStatus FailedToCancel
public static final LRAStatus Closing
public static final LRAStatus Closed
public static final LRAStatus FailedToClose
public static LRAStatus[] values()
for (LRAStatus c : LRAStatus.values()) System.out.println(c);
public static LRAStatus 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 nullCopyright © 2019 Eclipse Foundation. All rights reserved.