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_NULL
Functions.RETURN_TO_STRING
Functions.THROW_ASSERTION_ERROR
Functions.THROW_ILLEGAL_ARGUMENT_EXCEPTION
Methods in io.opencensus.common that return FunctionModifier and TypeMethodDescriptionFunctions.returnConstant
(T constant) AFunction
that always ignores its argument and returns a constant value.Functions.returnNull()
AFunction
that always ignores its argument and returnsnull
.Functions.returnToString()
AFunction
that always returns theObject.toString()
value of the input.Functions.throwAssertionError()
AFunction
that always ignores its argument and throws anAssertionError
.Functions.throwIllegalArgumentException()
AFunction
that 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 class
private static final class
private static final class
private static final class
private static final class
private static final class
private static final class
private static final class
private static final class
Fields in io.opencensus.implcore.stats declared as FunctionModifier and TypeFieldDescriptionprivate static final Function
<Aggregation, MetricDescriptor.Type> MetricUtils.AGGREGATION_TYPE_DEFAULT_FUNCTION
private static final Function
<Measurement.MeasurementDouble, Double> RecordUtils.GET_VALUE_FROM_MEASUREMENT_DOUBLE
private static final Function
<Measurement.MeasurementLong, Double> RecordUtils.GET_VALUE_FROM_MEASUREMENT_LONG
private static final Function
<Object, MetricDescriptor.Type> MetricUtils.TYPE_CUMULATIVE_DISTRIBUTION_FUNCTION
private static final Function
<Object, MetricDescriptor.Type> MetricUtils.TYPE_CUMULATIVE_DOUBLE_FUNCTION
private static final Function
<Object, MetricDescriptor.Type> MetricUtils.TYPE_CUMULATIVE_INT64_FUNCTION
private static final Function
<Object, MetricDescriptor.Type> MetricUtils.TYPE_GAUGE_DOUBLE_FUNCTION
private static final Function
<Object, MetricDescriptor.Type> MetricUtils.TYPE_GAUGE_INT64_FUNCTION
private 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> T
Distribution.BucketOptions.ExplicitOptions.match
(Function<? super Distribution.BucketOptions.ExplicitOptions, T> explicitFunction, Function<? super Distribution.BucketOptions, T> defaultFunction) abstract <T> T
Distribution.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> T
Value.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> T
Value.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> T
Value.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> T
Value.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> T
Value.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> T
Aggregation.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> T
Aggregation.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> T
Aggregation.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> T
Aggregation.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> T
Aggregation.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> T
Aggregation.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> T
AggregationData.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> T
AggregationData.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> T
AggregationData.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> T
AggregationData.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> T
AggregationData.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> T
AggregationData.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> T
AggregationData.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> T
AggregationData.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> T
Measure.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> T
Measure.MeasureDouble.match
(Function<? super Measure.MeasureDouble, T> p0, Function<? super Measure.MeasureLong, T> p1, Function<? super Measure, T> defaultFunction) <T> T
Measure.MeasureLong.match
(Function<? super Measure.MeasureDouble, T> p0, Function<? super Measure.MeasureLong, T> p1, Function<? super Measure, T> defaultFunction) abstract <T> T
Measurement.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> T
Measurement.MeasurementDouble.match
(Function<? super Measurement.MeasurementDouble, T> p0, Function<? super Measurement.MeasurementLong, T> p1, Function<? super Measurement, T> defaultFunction) <T> T
Measurement.MeasurementLong.match
(Function<? super Measurement.MeasurementDouble, T> p0, Function<? super Measurement.MeasurementLong, T> p1, Function<? super Measurement, T> defaultFunction) final <T> T
View.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> T
View.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> T
View.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> T
ViewData.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> T
ViewData.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> T
ViewData.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> T
AttributeValue.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> T
AttributeValue.AttributeValueBoolean.match
(Function<? super String, T> stringFunction, Function<? super Boolean, T> booleanFunction, Function<? super Long, T> longFunction, Function<Object, T> defaultFunction) final <T> T
AttributeValue.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> T
AttributeValue.AttributeValueDouble.match
(Function<? super String, T> stringFunction, Function<? super Boolean, T> booleanFunction, Function<? super Long, T> longFunction, Function<Object, T> defaultFunction) final <T> T
AttributeValue.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> T
AttributeValue.AttributeValueLong.match
(Function<? super String, T> stringFunction, Function<? super Boolean, T> booleanFunction, Function<? super Long, T> longFunction, Function<Object, T> defaultFunction) final <T> T
AttributeValue.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> T
AttributeValue.AttributeValueString.match
(Function<? super String, T> stringFunction, Function<? super Boolean, T> booleanFunction, Function<? super Long, T> longFunction, Function<Object, T> defaultFunction) abstract <T> T
AttributeValue.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> T
AttributeValue.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)
.