io.opentelemetry.context.DefaultContextKey Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of opentelemetry-context Show documentation
Show all versions of opentelemetry-context Show documentation
OpenTelemetry Context (Incubator)
/*
* Copyright The OpenTelemetry Authors
* SPDX-License-Identifier: Apache-2.0
*/
package io.opentelemetry.context;
final class DefaultContextKey implements ContextKey {
private final String name;
DefaultContextKey(String name) {
this.name = name;
}
@Override
public String toString() {
return name;
}
}