public static enum TraceContext.GetBy extends Enum<TraceContext.GetBy>
| Enum Constant and Description |
|---|
CoroutineLocal |
ThreadLocal |
ThreadLocalTxid |
ThreadLocalTxidByCoroutine |
| Modifier and Type | Method and Description |
|---|---|
static TraceContext.GetBy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TraceContext.GetBy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TraceContext.GetBy ThreadLocal
public static final TraceContext.GetBy ThreadLocalTxid
public static final TraceContext.GetBy ThreadLocalTxidByCoroutine
public static final TraceContext.GetBy CoroutineLocal
public static TraceContext.GetBy[] values()
for (TraceContext.GetBy c : TraceContext.GetBy.values()) System.out.println(c);
public static TraceContext.GetBy 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 © 2021. All rights reserved.