Class ScopeContext


  • public class ScopeContext
    extends java.lang.Object
    Holder 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 boolean canEqual​(java.lang.Object other)  
      boolean equals​(java.lang.Object o)  
      io.opentelemetry.api.common.Attributes getAttributes()  
      java.lang.String getName()  
      int hashCode()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • ScopeContext

        public ScopeContext​(java.lang.String name,
                            io.opentelemetry.api.common.Attributes attributes)
    • 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:
        equals in class java.lang.Object
      • canEqual

        protected boolean canEqual​(java.lang.Object other)
      • hashCode

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

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object