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
@Immutable public abstract static class SpanData.Links extends java.lang.Object
A list of links and the number of dropped links representation.- Since:
- 0.5
-
-
Constructor Summary
Constructors Constructor Description Links()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static SpanData.Links
create(java.util.List<Link> links, int droppedLinksCount)
Returns a new immutableLinks
.abstract int
getDroppedLinksCount()
Returns the number of dropped links.abstract java.util.List<Link>
getLinks()
Returns the list of links.
-
-
-
Method Detail
-
create
public static SpanData.Links create(java.util.List<Link> links, int droppedLinksCount)
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
public abstract java.util.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
-
-