Package org.apache.ignite.spi.tracing
Enum SpanStatus
- java.lang.Object
- 
- java.lang.Enum<SpanStatus>
- 
- org.apache.ignite.spi.tracing.SpanStatus
 
 
- 
- All Implemented Interfaces:
- Serializable,- Comparable<SpanStatus>
 
 public enum SpanStatus extends Enum<SpanStatus> Various statuses for Spans execution.
- 
- 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static SpanStatusvalueOf(String name)Returns the enum constant of this type with the specified name.static SpanStatus[]values()Returns an array containing the constants of this enum type, in the order they are declared.
 
- 
- 
- 
Enum Constant Detail- 
OKpublic static final SpanStatus OK Ok.
 - 
CANCELLEDpublic static final SpanStatus CANCELLED Cancelled.
 - 
ABORTEDpublic static final SpanStatus ABORTED Aborted.
 
- 
 - 
Method Detail- 
valuespublic static SpanStatus[] values() Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SpanStatus c : SpanStatus.values()) System.out.println(c); - Returns:
- an array containing the constants of this enum type, in the order they are declared
 
 - 
valueOfpublic static SpanStatus valueOf(String name) Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
- name- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
- IllegalArgumentException- if this enum type has no constant with the specified name
- NullPointerException- if the argument is null
 
 
- 
 
-