类 StepRegistryProperties
- java.lang.Object
- org.springframework.boot.actuate.autoconfigure.metrics.export.properties.StepRegistryProperties
- 直接已知子类:
AppOpticsProperties
,AtlasProperties
,DatadogProperties
,DynatraceProperties
,ElasticProperties
,HumioProperties
,InfluxProperties
,KairosProperties
,NewRelicProperties
,SignalFxProperties
,WavefrontProperties
public abstract class StepRegistryProperties extends Object
Base class for properties that configure a metrics registry that pushes aggregated metrics on a regular interval.- 从以下版本开始:
- 2.0.0
构造器概要
构造器 构造器 说明 StepRegistryProperties()
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 Integer
getBatchSize()
Duration
getConnectTimeout()
Integer
getNumThreads()
Duration
getReadTimeout()
Duration
getStep()
boolean
isEnabled()
void
setBatchSize(Integer batchSize)
void
setConnectTimeout(Duration connectTimeout)
void
setEnabled(boolean enabled)
void
setNumThreads(Integer numThreads)
void
setReadTimeout(Duration readTimeout)
void
setStep(Duration step)
构造器详细资料
StepRegistryProperties
public StepRegistryProperties()
方法详细资料
isEnabled
public boolean isEnabled()
setEnabled
public void setEnabled(boolean enabled)
getConnectTimeout
public Duration getConnectTimeout()
setConnectTimeout
public void setConnectTimeout(Duration connectTimeout)
getReadTimeout
public Duration getReadTimeout()
setReadTimeout
public void setReadTimeout(Duration readTimeout)
getNumThreads
public Integer getNumThreads()
setNumThreads
public void setNumThreads(Integer numThreads)
getBatchSize
public Integer getBatchSize()
setBatchSize
public void setBatchSize(Integer batchSize)