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
Fields in io.opencensus.common declared as FunctionModifier and TypeFieldDescriptionFunctions.RETURN_NULLFunctions.RETURN_TO_STRINGFunctions.THROW_ASSERTION_ERRORFunctions.THROW_ILLEGAL_ARGUMENT_EXCEPTIONMethods 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.contrib.zpages
Fields in io.opencensus.contrib.zpages declared as Function -
Uses of Function in io.opencensus.implcore.stats
Classes in io.opencensus.implcore.stats that implement FunctionModifier and TypeClassDescriptionprivate static final classprivate static final classprivate static final classprivate static final classprivate static final classprivate static final classprivate static final classprivate static final classprivate static final classFields in io.opencensus.implcore.stats declared as FunctionModifier and TypeFieldDescriptionprivate static final Function<Aggregation, MetricDescriptor.Type> MetricUtils.AGGREGATION_TYPE_DEFAULT_FUNCTIONprivate static final Function<Measurement.MeasurementDouble, Double> RecordUtils.GET_VALUE_FROM_MEASUREMENT_DOUBLEprivate static final Function<Measurement.MeasurementLong, Double> RecordUtils.GET_VALUE_FROM_MEASUREMENT_LONGprivate static final Function<Object, MetricDescriptor.Type> MetricUtils.TYPE_CUMULATIVE_DISTRIBUTION_FUNCTIONprivate static final Function<Object, MetricDescriptor.Type> MetricUtils.TYPE_CUMULATIVE_DOUBLE_FUNCTIONprivate static final Function<Object, MetricDescriptor.Type> MetricUtils.TYPE_CUMULATIVE_INT64_FUNCTIONprivate static final Function<Object, MetricDescriptor.Type> MetricUtils.TYPE_GAUGE_DOUBLE_FUNCTIONprivate static final Function<Object, MetricDescriptor.Type> MetricUtils.TYPE_GAUGE_INT64_FUNCTIONprivate static final Function<Object, MetricDescriptor.Type> MetricUtils.TYPE_UNRECOGNIZED_FUNCTION -
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.final <T> TValue.ValueDistribution.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) final <T> TValue.ValueDouble.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) final <T> TValue.ValueLong.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) final <T> TValue.ValueSummary.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) -
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 TypeMethodDescriptionfinal <T> TAttributeValue.AttributeValueBoolean.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) final <T> TAttributeValue.AttributeValueBoolean.match(Function<? super String, T> stringFunction, Function<? super Boolean, T> booleanFunction, Function<? super Long, T> longFunction, Function<Object, T> defaultFunction) final <T> TAttributeValue.AttributeValueDouble.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) final <T> TAttributeValue.AttributeValueDouble.match(Function<? super String, T> stringFunction, Function<? super Boolean, T> booleanFunction, Function<? super Long, T> longFunction, Function<Object, T> defaultFunction) final <T> TAttributeValue.AttributeValueLong.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) final <T> TAttributeValue.AttributeValueLong.match(Function<? super String, T> stringFunction, Function<? super Boolean, T> booleanFunction, Function<? super Long, T> longFunction, Function<Object, T> defaultFunction) final <T> TAttributeValue.AttributeValueString.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) final <T> TAttributeValue.AttributeValueString.match(Function<? super String, T> stringFunction, Function<? super Boolean, T> booleanFunction, Function<? super Long, T> longFunction, Function<Object, T> defaultFunction) abstract <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).