Class Labels.Mutable

    • Method Detail

      • of

        public static Labels.Mutable of​(java.lang.String key,
                                        java.lang.CharSequence value)
      • of

        public static Labels.Mutable of​(java.util.Map<java.lang.String,​? extends java.lang.CharSequence> labelMap)
      • add

        public Labels add​(java.lang.String key,
                          java.lang.CharSequence value)
      • transactionName

        public Labels.Mutable transactionName​(@Nullable
                                              java.lang.CharSequence transactionName)
      • transactionType

        public Labels.Mutable transactionType​(@Nullable
                                              java.lang.String transactionType)
      • spanType

        public Labels.Mutable spanType​(@Nullable
                                       java.lang.String spanType)
      • spanSubType

        public Labels.Mutable spanSubType​(@Nullable
                                          java.lang.String subtype)
      • getTransactionName

        @Nullable
        public java.lang.CharSequence getTransactionName()
        Specified by:
        getTransactionName in interface Labels
      • getTransactionType

        @Nullable
        public java.lang.String getTransactionType()
        Specified by:
        getTransactionType in interface Labels
      • getSpanType

        @Nullable
        public java.lang.String getSpanType()
        Specified by:
        getSpanType in interface Labels
      • getSpanSubType

        @Nullable
        public java.lang.String getSpanSubType()
        Specified by:
        getSpanSubType in interface Labels
      • resetState

        public void resetState()
        Description copied from interface: Recyclable
        resets pooled object state so it can be reused
        Specified by:
        resetState in interface Recyclable