Skip to content

io.helidon.common.concurrency.limits.FixedLimit

Description

Configuration of FixedLimit

Configuration options

KeyTypeDefaultDescription
queue-timeoutDurationPT1SHow long to wait for a permit when enqueued
permitsInteger0Number of permit to allow
enable-metricsBooleanfalseWhether to collect metrics for the fixed limit implementation
fairBooleanfalseWhether the java.util.concurrent.Semaphore should be java.util.concurrent.Semaphore#isFair()
queue-lengthInteger0How many requests can be enqueued waiting for a permit

Usages


See the manifest for all available types.