Class ScopeContext

java.lang.Object
org.apache.bookkeeper.stats.otel.ScopeContext

public class ScopeContext extends Object
Holder for a scope and a set of associated labels.
  • Constructor Details

    • ScopeContext

      public ScopeContext(String name, io.opentelemetry.api.common.Attributes attributes)
  • Method Details

    • getName

      public String getName()
    • getAttributes

      public io.opentelemetry.api.common.Attributes getAttributes()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object