public enum TraceIdExtractorType extends Enum<TraceIdExtractorType>
XCloudTraceIdExtractor
,
ZipkinTraceIdExtractor
,
CompositeTraceIdExtractor
,
TraceIdExtractor
Enum Constant and Description |
---|
XCLOUD
Uses only
XCloudTraceIdExtractor |
XCLOUD_ZIPKIN
Uses the XCloud extractor followed by the Zipkin extractor if no trace ID was found
by the former.
|
ZIPKIN
Uses only
ZipkinTraceIdExtractor |
ZIPKIN_XCLOUD
Uses the Zipkin extractor followed by the XCloud extractor if no trace ID was found
by the former.
|
Modifier and Type | Method and Description |
---|---|
static TraceIdExtractorType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TraceIdExtractorType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TraceIdExtractorType XCLOUD
XCloudTraceIdExtractor
public static final TraceIdExtractorType ZIPKIN
ZipkinTraceIdExtractor
public static final TraceIdExtractorType XCLOUD_ZIPKIN
public static final TraceIdExtractorType ZIPKIN_XCLOUD
public static TraceIdExtractorType[] values()
for (TraceIdExtractorType c : TraceIdExtractorType.values()) System.out.println(c);
public static TraceIdExtractorType 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 © 2018 Pivotal Software, Inc.. All rights reserved.