Package io.opencensus.trace.export
Class SpanData.Links
java.lang.Object
io.opencensus.trace.export.SpanData.Links
- Direct Known Subclasses:
AutoValue_SpanData_Links
- Enclosing class:
SpanData
A list of links and the number of dropped links representation.
- Since:
- 0.5
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SpanData.Links
Returns a new immutableLinks
.abstract int
Returns the number of dropped links.getLinks()
Returns the list of links.
-
Constructor Details
-
Links
Links()
-
-
Method Details
-
create
Returns a new immutableLinks
.- Parameters:
links
- the list of links.droppedLinksCount
- the number of dropped links.- Returns:
- a new immutable
Links
. - Since:
- 0.5
-
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
-