Class CommonTimerConfigurationProperties.InstanceProperties
java.lang.Object
io.github.resilience4j.common.micrometer.configuration.CommonTimerConfigurationProperties.InstanceProperties
- Enclosing class:
- CommonTimerConfigurationProperties
Class storing property values for configuring
Timer
instances.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the shared configuration name.setBaseConfig(String baseConfig) Sets the shared configuration name.setEventConsumerBufferSize(Integer eventConsumerBufferSize) setMetricNames(String metricNames) setOnFailureTagResolver(Class<? extends Function<Throwable, String>> onFailureTagResolver)
-
Constructor Details
-
InstanceProperties
public InstanceProperties()
-
-
Method Details
-
getMetricNames
-
setMetricNames
public CommonTimerConfigurationProperties.InstanceProperties setMetricNames(@Nullable String metricNames) -
getOnFailureTagResolver
-
setOnFailureTagResolver
public CommonTimerConfigurationProperties.InstanceProperties setOnFailureTagResolver(@Nullable Class<? extends Function<Throwable, String>> onFailureTagResolver) -
getBaseConfig
Gets the shared configuration name. If this is set, the configuration builder will use the shared configuration instance over this one.- Returns:
- The shared configuration name.
-
setBaseConfig
Sets the shared configuration name. If this is set, the configuration builder will use the shared configuration instance over this one.- Parameters:
baseConfig- The shared configuration name.
-
getEventConsumerBufferSize
-
setEventConsumerBufferSize
public CommonTimerConfigurationProperties.InstanceProperties setEventConsumerBufferSize(Integer eventConsumerBufferSize)
-