public static interface LongValueRecorder.Builder extends SynchronousInstrument.Builder
LongValueRecorder
.Modifier and Type | Method and Description |
---|---|
LongValueRecorder |
build()
Builds and returns a
Instrument with the desired options. |
LongValueRecorder.Builder |
setDescription(java.lang.String description)
Sets the description of the
Instrument . |
LongValueRecorder.Builder |
setUnit(java.lang.String unit)
Sets the unit of the
Instrument . |
LongValueRecorder.Builder setDescription(java.lang.String description)
Instrument.Builder
Instrument
.
Default value is ""
.
setDescription
in interface Instrument.Builder
description
- the description of the Instrument.LongValueRecorder.Builder setUnit(java.lang.String unit)
Instrument.Builder
Instrument
.
Default value is "1"
.
setUnit
in interface Instrument.Builder
unit
- the unit of the Instrument.LongValueRecorder build()
Instrument.Builder
Instrument
with the desired options.build
in interface Instrument.Builder
build
in interface SynchronousInstrument.Builder
Instrument
with the desired options.