| Modifier and Type | Field and Description |
|---|---|
| private static final ArrayBasedTraceState | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| pack-priv int | |
| private final List | |
| private static final int |
| Access | Constructor and Description |
|---|---|
| pack-priv | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public TraceState | build()
Implements io. Builds a TraceState by adding the entries to the parent in front of the key-value pairs list and removing duplicate entries. |
| pack-priv static TraceState | |
| private static boolean | Returns: boolean representing key validityis an opaque string up to 256 characters printable. It MUST begin with a lowercase
letter, and can only contain lowercase letters a-z, digits 0-9, underscores _, dashes -,
asterisks *, and forward slashes /. For multi-tenant vendor scenarios, an at sign (@) can
be used to prefix the vendor name. The tenant id (before the '@') is limited to 240
characters and the vendor id is limited to 13 characters. If in the multi-tenant vendor
format, then the first character may additionally be numeric. key)Checks the validity of a key. |
| private static boolean | |
| private static boolean | |
| private static boolean | |
| private static boolean | |
| public TraceStateBuilder | put(String
is an opaque string up to 256 characters printable. It MUST begin with a lowercase
letter, and can only contain lowercase letters a-z, digits 0-9, underscores _, dashes -,
asterisks *, and forward slashes /. For multi-tenant vendor scenarios, an at sign (@) can
be used to prefix the vendor name. The tenant id (before the '@') is limited to 240
characters and the vendor id is limited to 13 characters. If in the multi-tenant vendor
format, then the first character may additionally be numeric. key, String the value for the value)Entry to be added.Implements io. Allows key value pairs to be added to the TraceState. |
| public TraceStateBuilder | remove(String
the key for the key)Entry to be removed.Implements io. Removes the |
| EMPTY | back to summary |
|---|---|
| private static final ArrayBasedTraceState EMPTY | |
| KEY_MAX_SIZE | back to summary |
|---|---|
| private static final int KEY_MAX_SIZE | |
| MAX_ENTRIES | back to summary |
|---|---|
| private static final int MAX_ENTRIES | |
| MAX_TENANT_ID_SIZE | back to summary |
|---|---|
| private static final int MAX_TENANT_ID_SIZE | |
| MAX_VENDOR_ID_SIZE | back to summary |
|---|---|
| private static final int MAX_VENDOR_ID_SIZE | |
| numEntries | back to summary |
|---|---|
| pack-priv int numEntries | |
| reversedEntries | back to summary |
|---|---|
| private final List<String> reversedEntries | |
| VALUE_MAX_SIZE | back to summary |
|---|---|
| private static final int VALUE_MAX_SIZE | |
| ArrayBasedTraceStateBuilder | back to summary |
|---|---|
| pack-priv ArrayBasedTraceStateBuilder() | |
| ArrayBasedTraceStateBuilder | back to summary |
|---|---|
| pack-priv ArrayBasedTraceStateBuilder(ArrayBasedTraceState parent) | |
| build | back to summary |
|---|---|
| public TraceState build() Implements io. Doc from io. Builds a TraceState by adding the entries to the parent in front of the key-value pairs list and removing duplicate entries.
| |
| empty | back to summary |
|---|---|
| pack-priv static TraceState empty() | |
| isKeyValid | back to summary |
|---|---|
| private static boolean isKeyValid(String key) Checks the validity of a key.
| |
| isNotDigit | back to summary |
|---|---|
| private static boolean isNotDigit(char ch) | |
| isNotLegalKeyCharacter | back to summary |
|---|---|
| private static boolean isNotLegalKeyCharacter(char c) | |
| isNotLowercaseLetterOrDigit | back to summary |
|---|---|
| private static boolean isNotLowercaseLetterOrDigit(char ch) | |
| isValueValid | back to summary |
|---|---|
| private static boolean isValueValid(String value) | |
| put | back to summary |
|---|---|
| public TraceStateBuilder put(String key, String value) Implements io. Allows key value pairs to be added to the TraceState.
| |
| remove | back to summary |
|---|---|
| public TraceStateBuilder remove(String key) Implements io. Doc from io. Removes the
| |