Class IntervalMetricReader.Options.Builder
- java.lang.Object
-
- io.opencensus.exporter.metrics.util.IntervalMetricReader.Options.Builder
-
- Direct Known Subclasses:
AutoValue_IntervalMetricReader_Options.Builder
- Enclosing class:
- IntervalMetricReader.Options
public abstract static class IntervalMetricReader.Options.Builder extends java.lang.Object
Builder forIntervalMetricReader.Options
.- Since:
- 0.19
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract IntervalMetricReader.Options
build()
Builds a newIntervalMetricReader.Options
with current settings.abstract IntervalMetricReader.Options.Builder
setExportInterval(Duration exportInterval)
Sets the export interval.
-
-
-
Method Detail
-
setExportInterval
public abstract IntervalMetricReader.Options.Builder setExportInterval(Duration exportInterval)
Sets the export interval.- Parameters:
exportInterval
- the export interval between pushes to StackDriver.- Returns:
- this.
- Since:
- 0.19
-
build
public abstract IntervalMetricReader.Options build()
Builds a newIntervalMetricReader.Options
with current settings.- Returns:
- a
Options
. - Since:
- 0.19
-
-