Class BulkheadConfigurationProperties.InstanceProperties
- java.lang.Object
-
- io.github.resilience4j.common.bulkhead.configuration.BulkheadConfigurationProperties.InstanceProperties
-
- Enclosing class:
- BulkheadConfigurationProperties
public static class BulkheadConfigurationProperties.InstanceProperties extends java.lang.ObjectBulkhead config adapter for integration with Ratpack.maxWaitDurationshould almost always be set to 0, so the compute threads would not be blocked upon execution.
-
-
Constructor Summary
Constructors Constructor Description InstanceProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetBaseConfig()java.lang.IntegergetEventConsumerBufferSize()java.lang.IntegergetMaxConcurrentCalls()java.time.DurationgetMaxWaitDuration()java.lang.BooleanisWritableStackTraceEnabled()BulkheadConfigurationProperties.InstancePropertiessetBaseConfig(java.lang.String baseConfig)BulkheadConfigurationProperties.InstancePropertiessetEventConsumerBufferSize(java.lang.Integer eventConsumerBufferSize)BulkheadConfigurationProperties.InstancePropertiessetMaxConcurrentCalls(java.lang.Integer maxConcurrentCalls)BulkheadConfigurationProperties.InstancePropertiessetMaxWaitDuration(java.time.Duration maxWaitDuration)BulkheadConfigurationProperties.InstancePropertiessetWritableStackTraceEnabled(java.lang.Boolean writableStackTraceEnabled)
-
-
-
Method Detail
-
getMaxConcurrentCalls
public java.lang.Integer getMaxConcurrentCalls()
-
setMaxConcurrentCalls
public BulkheadConfigurationProperties.InstanceProperties setMaxConcurrentCalls(java.lang.Integer maxConcurrentCalls)
-
isWritableStackTraceEnabled
public java.lang.Boolean isWritableStackTraceEnabled()
-
setWritableStackTraceEnabled
public BulkheadConfigurationProperties.InstanceProperties setWritableStackTraceEnabled(java.lang.Boolean writableStackTraceEnabled)
-
getMaxWaitDuration
public java.time.Duration getMaxWaitDuration()
-
setMaxWaitDuration
public BulkheadConfigurationProperties.InstanceProperties setMaxWaitDuration(java.time.Duration maxWaitDuration)
-
getBaseConfig
@Nullable public java.lang.String getBaseConfig()
-
setBaseConfig
public BulkheadConfigurationProperties.InstanceProperties setBaseConfig(java.lang.String baseConfig)
-
getEventConsumerBufferSize
@Nullable public java.lang.Integer getEventConsumerBufferSize()
-
setEventConsumerBufferSize
public BulkheadConfigurationProperties.InstanceProperties setEventConsumerBufferSize(java.lang.Integer eventConsumerBufferSize)
-
-