Add @since tags for new public methods. (#3209)
* Add @since tags for new public methods. * remove errant since tags
This commit is contained in:
		
							parent
							
								
									15a1160e56
								
							
						
					
					
						commit
						f396965196
					
				|  | @ -173,6 +173,7 @@ public interface Span extends ImplicitContextKeyed { | ||||||
|    * |    * | ||||||
|    * @param attributes the attributes |    * @param attributes the attributes | ||||||
|    * @return this. |    * @return this. | ||||||
|  |    * @since 1.2.0 | ||||||
|    */ |    */ | ||||||
|   @SuppressWarnings("unchecked") |   @SuppressWarnings("unchecked") | ||||||
|   default Span setAllAttributes(Attributes attributes) { |   default Span setAllAttributes(Attributes attributes) { | ||||||
|  |  | ||||||
|  | @ -234,6 +234,7 @@ public interface SpanBuilder { | ||||||
|    * |    * | ||||||
|    * @param attributes the attributes |    * @param attributes the attributes | ||||||
|    * @return this. |    * @return this. | ||||||
|  |    * @since 1.2.0 | ||||||
|    */ |    */ | ||||||
|   @SuppressWarnings("unchecked") |   @SuppressWarnings("unchecked") | ||||||
|   default SpanBuilder setAllAttributes(Attributes attributes) { |   default SpanBuilder setAllAttributes(Attributes attributes) { | ||||||
|  |  | ||||||
|  | @ -70,6 +70,7 @@ public final class ZipkinSpanExporterBuilder { | ||||||
|    * Sets the maximum time to wait for the export of a batch of spans. If unset, defaults to 10s. |    * Sets the maximum time to wait for the export of a batch of spans. If unset, defaults to 10s. | ||||||
|    * |    * | ||||||
|    * @return this. |    * @return this. | ||||||
|  |    * @since 1.2.0 | ||||||
|    */ |    */ | ||||||
|   public ZipkinSpanExporterBuilder setReadTimeout(long timeout, TimeUnit unit) { |   public ZipkinSpanExporterBuilder setReadTimeout(long timeout, TimeUnit unit) { | ||||||
|     requireNonNull(unit, "unit"); |     requireNonNull(unit, "unit"); | ||||||
|  | @ -82,6 +83,7 @@ public final class ZipkinSpanExporterBuilder { | ||||||
|    * Sets the maximum time to wait for the export of a batch of spans. If unset, defaults to 10s. |    * Sets the maximum time to wait for the export of a batch of spans. If unset, defaults to 10s. | ||||||
|    * |    * | ||||||
|    * @return this. |    * @return this. | ||||||
|  |    * @since 1.2.0 | ||||||
|    */ |    */ | ||||||
|   public ZipkinSpanExporterBuilder setReadTimeout(Duration timeout) { |   public ZipkinSpanExporterBuilder setReadTimeout(Duration timeout) { | ||||||
|     requireNonNull(timeout, "timeout"); |     requireNonNull(timeout, "timeout"); | ||||||
|  |  | ||||||
|  | @ -43,6 +43,7 @@ public interface AggregatorFactory { | ||||||
|    * |    * | ||||||
|    * @param temporality configures what temporality to be produced for the Sum metrics. |    * @param temporality configures what temporality to be produced for the Sum metrics. | ||||||
|    * @return an {@code AggregationFactory} that calculates sum of recorded measurements. |    * @return an {@code AggregationFactory} that calculates sum of recorded measurements. | ||||||
|  |    * @since 1.2.0 | ||||||
|    */ |    */ | ||||||
|   static AggregatorFactory sum(AggregationTemporality temporality) { |   static AggregatorFactory sum(AggregationTemporality temporality) { | ||||||
|     return new SumAggregatorFactory(temporality); |     return new SumAggregatorFactory(temporality); | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue