Uses of Interface
io.opencensus.common.Function
Packages that use Function
Package
Description
Common API between different packages in this artifact.
API for stats recording.
API for distributed tracing.
-
Uses of Function in io.opencensus.common
Methods in io.opencensus.common that return FunctionModifier and TypeMethodDescriptionFunctions.returnConstant(T constant) AFunctionthat always ignores its argument and returns a constant value.Functions.returnNull()AFunctionthat always ignores its argument and returnsnull.Functions.returnToString()AFunctionthat always returns theObject.toString()value of the input.Functions.throwAssertionError()AFunctionthat always ignores its argument and throws anAssertionError.Functions.throwIllegalArgumentException()AFunctionthat always ignores its argument and throws anIllegalArgumentException. -
Uses of Function in io.opencensus.metrics.export
Methods in io.opencensus.metrics.export with parameters of type FunctionModifier and TypeMethodDescriptionfinal <T> TDistribution.BucketOptions.ExplicitOptions.match(Function<? super Distribution.BucketOptions.ExplicitOptions, T> explicitFunction, Function<? super Distribution.BucketOptions, T> defaultFunction) abstract <T> TDistribution.BucketOptions.match(Function<? super Distribution.BucketOptions.ExplicitOptions, T> explicitFunction, Function<? super Distribution.BucketOptions, T> defaultFunction) Applies the given match function to the underlying BucketOptions.abstract <T> TValue.match(Function<? super Double, T> doubleFunction, Function<? super Long, T> longFunction, Function<? super Distribution, T> distributionFunction, Function<? super Summary, T> summaryFunction, Function<? super Value, T> defaultFunction) Applies the given match function to the underlying data type. -
Uses of Function in io.opencensus.stats
Methods in io.opencensus.stats with parameters of type FunctionModifier and TypeMethodDescriptionfinal <T> TAggregation.Count.match(Function<? super Aggregation.Sum, T> p0, Function<? super Aggregation.Count, T> p1, Function<? super Aggregation.Distribution, T> p2, Function<? super Aggregation.LastValue, T> p3, Function<? super Aggregation, T> defaultFunction) final <T> TAggregation.Distribution.match(Function<? super Aggregation.Sum, T> p0, Function<? super Aggregation.Count, T> p1, Function<? super Aggregation.Distribution, T> p2, Function<? super Aggregation.LastValue, T> p3, Function<? super Aggregation, T> defaultFunction) final <T> TAggregation.LastValue.match(Function<? super Aggregation.Sum, T> p0, Function<? super Aggregation.Count, T> p1, Function<? super Aggregation.Distribution, T> p2, Function<? super Aggregation.LastValue, T> p3, Function<? super Aggregation, T> defaultFunction) abstract <T> TAggregation.match(Function<? super Aggregation.Sum, T> p0, Function<? super Aggregation.Count, T> p1, Function<? super Aggregation.Distribution, T> p2, Function<? super Aggregation.LastValue, T> p3, Function<? super Aggregation, T> defaultFunction) Applies the given match function to the underlying data type.final <T> TAggregation.Mean.match(Function<? super Aggregation.Sum, T> p0, Function<? super Aggregation.Count, T> p1, Function<? super Aggregation.Distribution, T> p2, Function<? super Aggregation.LastValue, T> p3, Function<? super Aggregation, T> defaultFunction) Deprecated.final <T> TAggregation.Sum.match(Function<? super Aggregation.Sum, T> p0, Function<? super Aggregation.Count, T> p1, Function<? super Aggregation.Distribution, T> p2, Function<? super Aggregation.LastValue, T> p3, Function<? super Aggregation, T> defaultFunction) final <T> TAggregationData.CountData.match(Function<? super AggregationData.SumDataDouble, T> p0, Function<? super AggregationData.SumDataLong, T> p1, Function<? super AggregationData.CountData, T> p2, Function<? super AggregationData.DistributionData, T> p3, Function<? super AggregationData.LastValueDataDouble, T> p4, Function<? super AggregationData.LastValueDataLong, T> p5, Function<? super AggregationData, T> defaultFunction) final <T> TAggregationData.DistributionData.match(Function<? super AggregationData.SumDataDouble, T> p0, Function<? super AggregationData.SumDataLong, T> p1, Function<? super AggregationData.CountData, T> p2, Function<? super AggregationData.DistributionData, T> p3, Function<? super AggregationData.LastValueDataDouble, T> p4, Function<? super AggregationData.LastValueDataLong, T> p5, Function<? super AggregationData, T> defaultFunction) final <T> TAggregationData.LastValueDataDouble.match(Function<? super AggregationData.SumDataDouble, T> p0, Function<? super AggregationData.SumDataLong, T> p1, Function<? super AggregationData.CountData, T> p2, Function<? super AggregationData.DistributionData, T> p3, Function<? super AggregationData.LastValueDataDouble, T> p4, Function<? super AggregationData.LastValueDataLong, T> p5, Function<? super AggregationData, T> defaultFunction) final <T> TAggregationData.LastValueDataLong.match(Function<? super AggregationData.SumDataDouble, T> p0, Function<? super AggregationData.SumDataLong, T> p1, Function<? super AggregationData.CountData, T> p2, Function<? super AggregationData.DistributionData, T> p3, Function<? super AggregationData.LastValueDataDouble, T> p4, Function<? super AggregationData.LastValueDataLong, T> p5, Function<? super AggregationData, T> defaultFunction) abstract <T> TAggregationData.match(Function<? super AggregationData.SumDataDouble, T> p0, Function<? super AggregationData.SumDataLong, T> p1, Function<? super AggregationData.CountData, T> p2, Function<? super AggregationData.DistributionData, T> p3, Function<? super AggregationData.LastValueDataDouble, T> p4, Function<? super AggregationData.LastValueDataLong, T> p5, Function<? super AggregationData, T> defaultFunction) Applies the given match function to the underlying data type.final <T> TAggregationData.MeanData.match(Function<? super AggregationData.SumDataDouble, T> p0, Function<? super AggregationData.SumDataLong, T> p1, Function<? super AggregationData.CountData, T> p2, Function<? super AggregationData.DistributionData, T> p3, Function<? super AggregationData.LastValueDataDouble, T> p4, Function<? super AggregationData.LastValueDataLong, T> p5, Function<? super AggregationData, T> defaultFunction) Deprecated.final <T> TAggregationData.SumDataDouble.match(Function<? super AggregationData.SumDataDouble, T> p0, Function<? super AggregationData.SumDataLong, T> p1, Function<? super AggregationData.CountData, T> p2, Function<? super AggregationData.DistributionData, T> p3, Function<? super AggregationData.LastValueDataDouble, T> p4, Function<? super AggregationData.LastValueDataLong, T> p5, Function<? super AggregationData, T> defaultFunction) final <T> TAggregationData.SumDataLong.match(Function<? super AggregationData.SumDataDouble, T> p0, Function<? super AggregationData.SumDataLong, T> p1, Function<? super AggregationData.CountData, T> p2, Function<? super AggregationData.DistributionData, T> p3, Function<? super AggregationData.LastValueDataDouble, T> p4, Function<? super AggregationData.LastValueDataLong, T> p5, Function<? super AggregationData, T> defaultFunction) abstract <T> TMeasure.match(Function<? super Measure.MeasureDouble, T> p0, Function<? super Measure.MeasureLong, T> p1, Function<? super Measure, T> defaultFunction) Applies the given match function to the underlying data type.<T> TMeasure.MeasureDouble.match(Function<? super Measure.MeasureDouble, T> p0, Function<? super Measure.MeasureLong, T> p1, Function<? super Measure, T> defaultFunction) <T> TMeasure.MeasureLong.match(Function<? super Measure.MeasureDouble, T> p0, Function<? super Measure.MeasureLong, T> p1, Function<? super Measure, T> defaultFunction) abstract <T> TMeasurement.match(Function<? super Measurement.MeasurementDouble, T> p0, Function<? super Measurement.MeasurementLong, T> p1, Function<? super Measurement, T> defaultFunction) Applies the given match function to the underlying data type.<T> TMeasurement.MeasurementDouble.match(Function<? super Measurement.MeasurementDouble, T> p0, Function<? super Measurement.MeasurementLong, T> p1, Function<? super Measurement, T> defaultFunction) <T> TMeasurement.MeasurementLong.match(Function<? super Measurement.MeasurementDouble, T> p0, Function<? super Measurement.MeasurementLong, T> p1, Function<? super Measurement, T> defaultFunction) final <T> TView.AggregationWindow.Cumulative.match(Function<? super View.AggregationWindow.Cumulative, T> p0, Function<? super View.AggregationWindow.Interval, T> p1, Function<? super View.AggregationWindow, T> defaultFunction) Deprecated.final <T> TView.AggregationWindow.Interval.match(Function<? super View.AggregationWindow.Cumulative, T> p0, Function<? super View.AggregationWindow.Interval, T> p1, Function<? super View.AggregationWindow, T> defaultFunction) Deprecated.abstract <T> TView.AggregationWindow.match(Function<? super View.AggregationWindow.Cumulative, T> p0, Function<? super View.AggregationWindow.Interval, T> p1, Function<? super View.AggregationWindow, T> defaultFunction) Deprecated.Applies the given match function to the underlying data type.final <T> TViewData.AggregationWindowData.CumulativeData.match(Function<? super ViewData.AggregationWindowData.CumulativeData, T> p0, Function<? super ViewData.AggregationWindowData.IntervalData, T> p1, Function<? super ViewData.AggregationWindowData, T> defaultFunction) Deprecated.final <T> TViewData.AggregationWindowData.IntervalData.match(Function<? super ViewData.AggregationWindowData.CumulativeData, T> p0, Function<? super ViewData.AggregationWindowData.IntervalData, T> p1, Function<? super ViewData.AggregationWindowData, T> defaultFunction) Deprecated.abstract <T> TViewData.AggregationWindowData.match(Function<? super ViewData.AggregationWindowData.CumulativeData, T> p0, Function<? super ViewData.AggregationWindowData.IntervalData, T> p1, Function<? super ViewData.AggregationWindowData, T> defaultFunction) Deprecated.Applies the given match function to the underlying data type. -
Uses of Function in io.opencensus.trace
Methods in io.opencensus.trace with parameters of type FunctionModifier and TypeMethodDescriptionabstract <T> TAttributeValue.match(Function<? super String, T> stringFunction, Function<? super Boolean, T> booleanFunction, Function<? super Long, T> longFunction, Function<? super Double, T> doubleFunction, Function<Object, T> defaultFunction) Applies a function to the underlying value.abstract <T> TAttributeValue.match(Function<? super String, T> stringFunction, Function<? super Boolean, T> booleanFunction, Function<? super Long, T> longFunction, Function<Object, T> defaultFunction) Deprecated.
AttributeValue.match(Function, Function, Function, Function, Function).