Class LimitsFeatureProvider
java.lang.Object
io.helidon.webserver.concurrency.limits.LimitsFeatureProvider
- All Implemented Interfaces:
ConfiguredProvider<LimitsFeature>
,ServerFeatureProvider<LimitsFeature>
ServiceLoader
provider implementation to automatically register this service.
The required configuration (disabled by default):
server: features: limits: enabled: true limit: bulkhead: limit: 10 queue: 100
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
LimitsFeatureProvider
public LimitsFeatureProvider()Public constructor required byServiceLoader
.
-
-
Method Details
-
configKey
Description copied from interface:ConfiguredProvider
Key this service implementation is stored under. This is also considered the service "type" when used in a list in configuration, to allow the same service defined more than once.- Specified by:
configKey
in interfaceConfiguredProvider<LimitsFeature>
- Returns:
- key of this implementation
-
create
Description copied from interface:ConfiguredProvider
Create a new instance from the configuration located on the provided node.- Specified by:
create
in interfaceConfiguredProvider<LimitsFeature>
- Parameters:
config
- located atConfiguredProvider.configKey()
nodename
- name of the configured implementation- Returns:
- a new instance created from this config node
-