Class SpanData.Links

java.lang.Object
io.opencensus.trace.export.SpanData.Links
Direct Known Subclasses:
AutoValue_SpanData_Links
Enclosing class:
SpanData

@Immutable public abstract static class SpanData.Links extends Object
A list of links and the number of dropped links representation.
Since:
0.5
  • Constructor Details

    • Links

      Links()
  • Method Details

    • create

      public static SpanData.Links create(List<Link> links, int droppedLinksCount)
      Returns a new immutable Links.
      Parameters:
      links - the list of links.
      droppedLinksCount - the number of dropped links.
      Returns:
      a new immutable Links.
      Since:
      0.5
    • getLinks

      public abstract List<Link> getLinks()
      Returns the list of links.
      Returns:
      the list of links.
      Since:
      0.5
    • getDroppedLinksCount

      public abstract int getDroppedLinksCount()
      Returns the number of dropped links.
      Returns:
      the number of dropped links.
      Since:
      0.5