Interface AttributeBuilder

  • All Known Implementing Classes:
    EventBuilder, SpanBuilder

    @Experimental
    public interface AttributeBuilder
    Common interface to all builders that support key-value attributes.
    • Method Detail

      • setAttribute

        AttributeBuilder setAttribute​(String key,
                                      long value)
        Additional attribute to be attached to this builder.
      • setAttribute

        AttributeBuilder setAttribute​(String key,
                                      double value)
        Additional attribute to be attached to this builder.
      • setAttribute

        AttributeBuilder setAttribute​(String key,
                                      boolean value)
        Additional attribute to be attached to this builder.