Class FixedLimitProvider
java.lang.Object
io.helidon.common.concurrency.limits.FixedLimitProvider
- All Implemented Interfaces:
LimitProvider
,ConfiguredProvider<Limit>
ServiceLoader
service provider for FixedLimit
limit implementation.-
Constructor Summary
-
Method Summary
-
Constructor Details
-
FixedLimitProvider
public FixedLimitProvider()Constructor required by the service loader.
-
-
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<Limit>
- 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<Limit>
- Parameters:
config
- located atConfiguredProvider.configKey()
nodename
- name of the configured implementation- Returns:
- a new instance created from this config node
-