Class CommonBulkheadConfigurationProperties.InstanceProperties
java.lang.Object
io.github.resilience4j.common.bulkhead.configuration.CommonBulkheadConfigurationProperties.InstanceProperties
- Enclosing class:
- CommonBulkheadConfigurationProperties
Bulkhead config adapter for integration with Ratpack.
maxWaitDuration should almost
always be set to 0, so the compute threads would not be blocked upon execution.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionsetBaseConfig(String baseConfig) setEventConsumerBufferSize(Integer eventConsumerBufferSize) setMaxConcurrentCalls(Integer maxConcurrentCalls) setMaxWaitDuration(Duration maxWaitDuration) setWritableStackTraceEnabled(Boolean writableStackTraceEnabled)
-
Constructor Details
-
InstanceProperties
public InstanceProperties()
-
-
Method Details
-
getMaxConcurrentCalls
-
setMaxConcurrentCalls
public CommonBulkheadConfigurationProperties.InstanceProperties setMaxConcurrentCalls(Integer maxConcurrentCalls) -
isWritableStackTraceEnabled
-
setWritableStackTraceEnabled
public CommonBulkheadConfigurationProperties.InstanceProperties setWritableStackTraceEnabled(Boolean writableStackTraceEnabled) -
getMaxWaitDuration
-
setMaxWaitDuration
public CommonBulkheadConfigurationProperties.InstanceProperties setMaxWaitDuration(Duration maxWaitDuration) -
getBaseConfig
-
setBaseConfig
-
getEventConsumerBufferSize
-
setEventConsumerBufferSize
public CommonBulkheadConfigurationProperties.InstanceProperties setEventConsumerBufferSize(Integer eventConsumerBufferSize)
-