Package org.hertsstack.core.context
Class HertsMetricsSetting.Builder
- java.lang.Object
-
- org.hertsstack.core.context.HertsMetricsSetting.Builder
-
- Enclosing class:
- HertsMetricsSetting
public static class HertsMetricsSetting.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HertsMetricsSetting
build()
HertsMetricsSetting.Builder
isErrRateEnabled(boolean isErrRateEnabled)
HertsMetricsSetting.Builder
isJvmEnabled(boolean isJvmEnabled)
HertsMetricsSetting.Builder
isLatencyEnabled(boolean isLatencyEnabled)
HertsMetricsSetting.Builder
isRpsEnabled(boolean isRpsEnabled)
HertsMetricsSetting.Builder
isServerResourceEnabled(boolean isServerResourceEnabled)
-
-
-
Method Detail
-
isRpsEnabled
public HertsMetricsSetting.Builder isRpsEnabled(boolean isRpsEnabled)
-
isLatencyEnabled
public HertsMetricsSetting.Builder isLatencyEnabled(boolean isLatencyEnabled)
-
isErrRateEnabled
public HertsMetricsSetting.Builder isErrRateEnabled(boolean isErrRateEnabled)
-
isServerResourceEnabled
public HertsMetricsSetting.Builder isServerResourceEnabled(boolean isServerResourceEnabled)
-
isJvmEnabled
public HertsMetricsSetting.Builder isJvmEnabled(boolean isJvmEnabled)
-
build
public HertsMetricsSetting build()
-
-