fixed
This type provides the following service implementations:
-
io.helidon.common.concurrency.limits.spi.LimitProvider
Configuration options
| key | type | default value | description |
|---|---|---|---|
|
boolean |
|
Whether to collect metrics for the AIMD implementation. |
|
boolean |
|
Whether the java.util.concurrent.Semaphore should be java.util.concurrent.Semaphore.isFair().
Defaults to |
|
int |
|
Number of permit to allow.
Defaults to FixedLimit.DEFAULT_LIMIT.
When set to |
|
int |
|
How many requests can be enqueued waiting for a permit. Note that this may not be an exact behavior due to concurrent invocations. We use java.util.concurrent.Semaphore.getQueueLength() in the io.helidon.common.concurrency.limits.FixedLimit implementation. Default value is FixedLimit.DEFAULT_QUEUE_LENGTH. If set to {code 0}, there is no queueing. |
|
Duration |
|
How long to wait for a permit when enqueued. Defaults to FixedLimit.DEFAULT_QUEUE_TIMEOUT_DURATION |