public static enum Span.Kind extends Enum<Span.Kind>
| Enum Constant and Description |
|---|
CLIENT
Indicates that the span covers the client-side wrapper around an RPC or other
remote request.
|
CONSUMER
Indicates that the span describes consumer receiving a message from a broker.
|
PRODUCER
Indicates that the span describes producer sending a message to a broker.
|
SERVER
Indicates that the span covers server-side handling of an RPC or other remote
request.
|
| Modifier and Type | Method and Description |
|---|---|
static Span.Kind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Span.Kind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Span.Kind SERVER
public static final Span.Kind CLIENT
public static final Span.Kind PRODUCER
public static final Span.Kind CONSUMER
public static Span.Kind[] values()
for (Span.Kind c : Span.Kind.values()) System.out.println(c);
public static Span.Kind 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 Pivotal Software, Inc.. All rights reserved.