Class LatencyTrackingStateConfig.Builder
- java.lang.Object
-
- org.apache.flink.runtime.state.metrics.LatencyTrackingStateConfig.Builder
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- LatencyTrackingStateConfig
public static class LatencyTrackingStateConfig.Builder extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LatencyTrackingStateConfig
build()
LatencyTrackingStateConfig.Builder
configure(ReadableConfig config)
LatencyTrackingStateConfig.Builder
setEnabled(boolean enabled)
LatencyTrackingStateConfig.Builder
setHistorySize(int historySize)
LatencyTrackingStateConfig.Builder
setMetricGroup(MetricGroup metricGroup)
LatencyTrackingStateConfig.Builder
setSampleInterval(int sampleInterval)
LatencyTrackingStateConfig.Builder
setStateNameAsVariable(boolean stateNameAsVariable)
-
-
-
Method Detail
-
setEnabled
public LatencyTrackingStateConfig.Builder setEnabled(boolean enabled)
-
setSampleInterval
public LatencyTrackingStateConfig.Builder setSampleInterval(int sampleInterval)
-
setHistorySize
public LatencyTrackingStateConfig.Builder setHistorySize(int historySize)
-
setStateNameAsVariable
public LatencyTrackingStateConfig.Builder setStateNameAsVariable(boolean stateNameAsVariable)
-
setMetricGroup
public LatencyTrackingStateConfig.Builder setMetricGroup(MetricGroup metricGroup)
-
configure
public LatencyTrackingStateConfig.Builder configure(ReadableConfig config)
-
build
public LatencyTrackingStateConfig build()
-
-