Class Tracestate.Entry

java.lang.Object
io.opencensus.trace.Tracestate.Entry
Direct Known Subclasses:
AutoValue_Tracestate_Entry
Enclosing class:
Tracestate

@Immutable @ExperimentalApi public abstract static class Tracestate.Entry extends Object
Immutable key-value pair for Tracestate.
Since:
0.16
  • Constructor Details

    • Entry

      Entry()
  • Method Details

    • create

      public static Tracestate.Entry create(String key, String value)
      Creates a new Entry for the Tracestate.
      Parameters:
      key - the Entry's key.
      value - the Entry's value.
      Since:
      0.16
    • getKey

      public abstract String getKey()
      Returns the key String.
      Returns:
      the key String.
      Since:
      0.16
    • getValue

      public abstract String getValue()
      Returns the value String.
      Returns:
      the value String.
      Since:
      0.16