Class IntervalMetricReader.Options
- java.lang.Object
-
- io.opencensus.exporter.metrics.util.IntervalMetricReader.Options
-
- Direct Known Subclasses:
AutoValue_IntervalMetricReader_Options
- Enclosing class:
- IntervalMetricReader
@Immutable public abstract static class IntervalMetricReader.Options extends java.lang.Object
Options forIntervalMetricReader
.- Since:
- 0.19
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
IntervalMetricReader.Options.Builder
Builder forIntervalMetricReader.Options
.
-
Constructor Summary
Constructors Constructor Description Options()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static IntervalMetricReader.Options.Builder
builder()
Returns a newIntervalMetricReader.Options.Builder
.abstract Duration
getExportInterval()
Returns the export interval between pushes to StackDriver.
-
-
-
Method Detail
-
getExportInterval
public abstract Duration getExportInterval()
Returns the export interval between pushes to StackDriver.- Returns:
- the export interval.
- Since:
- 0.19
-
builder
public static IntervalMetricReader.Options.Builder builder()
Returns a newIntervalMetricReader.Options.Builder
.- Returns:
- a
Builder
. - Since:
- 0.19
-
-