public static enum Tracing.TraceType extends java.lang.Enum<Tracing.TraceType>
Modifier and Type | Method and Description |
---|---|
static Tracing.TraceType |
deserialize(byte b) |
int |
getTTL() |
static byte |
serialize(Tracing.TraceType value) |
static Tracing.TraceType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Tracing.TraceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Tracing.TraceType NONE
public static final Tracing.TraceType QUERY
public static final Tracing.TraceType REPAIR
public static Tracing.TraceType[] values()
for (Tracing.TraceType c : Tracing.TraceType.values()) System.out.println(c);
public static Tracing.TraceType 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 nullpublic static Tracing.TraceType deserialize(byte b)
public static byte serialize(Tracing.TraceType value)
public int getTTL()
Copyright © 2018 The Apache Software Foundation