Package org.apache.bookkeeper.stats.otel
Class ScopeContext
- java.lang.Object
-
- org.apache.bookkeeper.stats.otel.ScopeContext
-
public class ScopeContext extends java.lang.ObjectHolder for a scope and a set of associated labels.
-
-
Constructor Summary
Constructors Constructor Description ScopeContext(java.lang.String name, io.opentelemetry.api.common.Attributes attributes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)io.opentelemetry.api.common.AttributesgetAttributes()java.lang.StringgetName()inthashCode()java.lang.StringtoString()
-
-
-
Method Detail
-
getName
public java.lang.String getName()
-
getAttributes
public io.opentelemetry.api.common.Attributes getAttributes()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-