Home
last modified time | relevance | path

Searched refs:maxNumberOfLinks (Results 1 – 3 of 3) sorted by relevance

/external/opencensus-java/impl_core/src/test/java/io/opencensus/implcore/trace/
DRecordEventsSpanImplTest.java496 final int maxNumberOfLinks = 8; in droppingLinks() local
498 TraceParams.DEFAULT.toBuilder().setMaxNumberOfLinks(maxNumberOfLinks).build(); in droppingLinks()
511 for (int i = 0; i < 2 * maxNumberOfLinks; i++) { in droppingLinks()
515 assertThat(spanData.getLinks().getDroppedLinksCount()).isEqualTo(maxNumberOfLinks); in droppingLinks()
516 assertThat(spanData.getLinks().getLinks().size()).isEqualTo(maxNumberOfLinks); in droppingLinks()
517 for (int i = 0; i < maxNumberOfLinks; i++) { in droppingLinks()
522 assertThat(spanData.getLinks().getDroppedLinksCount()).isEqualTo(maxNumberOfLinks); in droppingLinks()
523 assertThat(spanData.getLinks().getLinks().size()).isEqualTo(maxNumberOfLinks); in droppingLinks()
524 for (int i = 0; i < maxNumberOfLinks; i++) { in droppingLinks()
/external/opencensus-java/contrib/zpages/src/main/java/io/opencensus/contrib/zpages/
DTraceConfigzZPageHandler.java182 int maxNumberOfLinks = Integer.parseInt(maxNumverOfLinksStr); in maybeApplyChanges() local
183 traceParamsBuilder.setMaxNumberOfLinks(maxNumberOfLinks); in maybeApplyChanges()
/external/opencensus-java/api/src/main/java/io/opencensus/trace/config/
DTraceParams.java197 public abstract Builder setMaxNumberOfLinks(int maxNumberOfLinks); in setMaxNumberOfLinks() argument