Class InternalAttributeKeyImpl<T>

java.lang.Object
io.opentelemetry.api.internal.InternalAttributeKeyImpl<T>
All Implemented Interfaces:
AttributeKey<T>

public final class InternalAttributeKeyImpl<T> extends Object implements AttributeKey<T>
Default AttributeKey implementation which preencodes to UTF8 for OTLP export.

This class is internal and is hence not for public use. Its APIs are unstable and can change at any time.

  • Field Details

    • type

      private final AttributeType type
    • key

      private final String key
    • hashCode

      private final int hashCode
    • keyUtf8

      @Nullable private byte[] keyUtf8
  • Constructor Details

  • Method Details