public static enum SpanExporter.ResultCode extends Enum<SpanExporter.ResultCode>
| Enum Constant and Description |
|---|
FAILED_NOT_RETRYABLE
The export operation finished with an error, the caller should not try to export the same
data again.
|
FAILED_RETRYABLE
The export operation finished with an error, but retrying may succeed.
|
SUCCESS
The export operation finished successfully.
|
| Modifier and Type | Method and Description |
|---|---|
static SpanExporter.ResultCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SpanExporter.ResultCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SpanExporter.ResultCode SUCCESS
public static final SpanExporter.ResultCode FAILED_RETRYABLE
public static final SpanExporter.ResultCode FAILED_NOT_RETRYABLE
public static SpanExporter.ResultCode[] values()
for (SpanExporter.ResultCode c : SpanExporter.ResultCode.values()) System.out.println(c);
public static SpanExporter.ResultCode 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 null