Enum Constant and Description |
---|
JSON_V1
Zipkin V1 JSON format.
|
JSON_V2
Zipkin V2 JSON format.
|
PROTO3
Zipkin V2 protocol buffers V3 format.
|
THRIFT
Zipkin V2 THRIFT format.
|
Modifier and Type | Method and Description |
---|---|
static Codec |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Codec[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Codec JSON_V1
public static final Codec JSON_V2
public static final Codec THRIFT
public static final Codec PROTO3
public static Codec[] values()
for (Codec c : Codec.values()) System.out.println(c);
public static Codec valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null