public static class LatencyTrackingStateConfig.Builder extends Object implements Serializable
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and 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) |
public LatencyTrackingStateConfig.Builder setEnabled(boolean enabled)
public LatencyTrackingStateConfig.Builder setSampleInterval(int sampleInterval)
public LatencyTrackingStateConfig.Builder setHistorySize(int historySize)
public LatencyTrackingStateConfig.Builder setStateNameAsVariable(boolean stateNameAsVariable)
public LatencyTrackingStateConfig.Builder setMetricGroup(MetricGroup metricGroup)
public LatencyTrackingStateConfig.Builder configure(ReadableConfig config)
public LatencyTrackingStateConfig build()
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.