-
public final class Metadata
-
-
Field Summary
Fields Modifier and Type Field Description private final longthreadIdprivate final UTF8BytesStringthreadNameprivate final UTF8BytesStringhttpStatusCodeprivate final Map<String, Object>tagsprivate final Map<String, String>baggageprivate final CharSequenceorigin
-
Constructor Summary
Constructors Constructor Description Metadata(long threadId, UTF8BytesString threadName, Map<String, Object> tags, Map<String, String> baggage, int samplingPriority, boolean measured, boolean topLevel, UTF8BytesString httpStatusCode, CharSequence origin, int longRunningVersion)
-
Method Summary
Modifier and Type Method Description longgetThreadId()UTF8BytesStringgetThreadName()UTF8BytesStringgetHttpStatusCode()Map<String, Object>getTags()Map<String, String>getBaggage()CharSequencegetOrigin()booleanmeasured()intlongRunningVersion()booleantopLevel()booleanhasSamplingPriority()intsamplingPriority()-
-
Constructor Detail
-
Metadata
Metadata(long threadId, UTF8BytesString threadName, Map<String, Object> tags, Map<String, String> baggage, int samplingPriority, boolean measured, boolean topLevel, UTF8BytesString httpStatusCode, CharSequence origin, int longRunningVersion)
-
-
Method Detail
-
getThreadId
long getThreadId()
-
getThreadName
UTF8BytesString getThreadName()
-
getHttpStatusCode
UTF8BytesString getHttpStatusCode()
-
getBaggage
Map<String, String> getBaggage()
-
getOrigin
CharSequence getOrigin()
-
measured
boolean measured()
-
longRunningVersion
int longRunningVersion()
-
topLevel
boolean topLevel()
-
hasSamplingPriority
boolean hasSamplingPriority()
-
samplingPriority
int samplingPriority()
-
-
-
-