Package io.opentelemetry.api.metrics
Interface AsynchronousInstrument.Builder
-
- All Superinterfaces:
Instrument.Builder
- All Known Subinterfaces:
DoubleSumObserver.Builder,DoubleUpDownSumObserver.Builder,DoubleValueObserver.Builder,LongSumObserver.Builder,LongUpDownSumObserver.Builder,LongValueObserver.Builder
- Enclosing interface:
- AsynchronousInstrument<R extends AsynchronousInstrument.Result>
public static interface AsynchronousInstrument.Builder extends Instrument.Builder
Builder class forAsynchronousInstrument.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AsynchronousInstrument<?>build()Builds and returns aInstrumentwith the desired options.-
Methods inherited from interface io.opentelemetry.api.metrics.Instrument.Builder
setDescription, setUnit
-
-
-
-
Method Detail
-
build
AsynchronousInstrument<?> build()
Description copied from interface:Instrument.BuilderBuilds and returns aInstrumentwith the desired options.- Specified by:
buildin interfaceInstrument.Builder- Returns:
- a
Instrumentwith the desired options.
-
-