Index

A B C D E F G H I L M N O P Q R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

ACCEPTED - Enum constant in enum class io.helidon.common.concurrency.limits.LimitAlgorithm.Outcome.Disposition
Algorithm accepts the work.
acquire() - Method in class io.helidon.common.concurrency.limits.NoopSemaphore
Deprecated.
 
acquire(int) - Method in class io.helidon.common.concurrency.limits.NoopSemaphore
Deprecated.
 
acquireUninterruptibly() - Method in class io.helidon.common.concurrency.limits.NoopSemaphore
Deprecated.
 
acquireUninterruptibly(int) - Method in class io.helidon.common.concurrency.limits.NoopSemaphore
Deprecated.
 
AimdLimit - Class in io.helidon.common.concurrency.limits
AIMD based limiter.
AimdLimitConfig - Interface in io.helidon.common.concurrency.limits
Configuration of AimdLimit.
AimdLimitConfig.Builder - Class in io.helidon.common.concurrency.limits
Fluent API builder for AimdLimit.
AimdLimitConfig.BuilderBase<BUILDER,PROTOTYPE> - Class in io.helidon.common.concurrency.limits
Fluent API builder base for AimdLimit.
AimdLimitConfig.BuilderBase.AimdLimitConfigImpl - Class in io.helidon.common.concurrency.limits
Generated implementation of the prototype, can be extended by descendant prototype implementations.
AimdLimitConfigImpl(AimdLimitConfig.BuilderBase<?, ?>) - Constructor for class io.helidon.common.concurrency.limits.AimdLimitConfig.BuilderBase.AimdLimitConfigImpl
Create an instance providing a builder.
AimdLimitProvider - Class in io.helidon.common.concurrency.limits
ServiceLoader service provider for AimdLimit limit implementation.
AimdLimitProvider() - Constructor for class io.helidon.common.concurrency.limits.AimdLimitProvider
Constructor required by the service loader.
algorithmType() - Method in interface io.helidon.common.concurrency.limits.LimitAlgorithm.Outcome
Name of the limit algorithm which decided whether to allow or prevent processing of the work item.
availablePermits() - Method in class io.helidon.common.concurrency.limits.NoopSemaphore
Deprecated.
 

B

backoffRatio() - Method in interface io.helidon.common.concurrency.limits.AimdLimitConfig
Backoff ratio to use for the algorithm.
backoffRatio() - Method in class io.helidon.common.concurrency.limits.AimdLimitConfig.BuilderBase.AimdLimitConfigImpl
 
backoffRatio() - Method in class io.helidon.common.concurrency.limits.AimdLimitConfig.BuilderBase
Backoff ratio to use for the algorithm.
backoffRatio(double) - Method in class io.helidon.common.concurrency.limits.AimdLimitConfig.BuilderBase
Backoff ratio to use for the algorithm.
build() - Method in class io.helidon.common.concurrency.limits.AimdLimitConfig.Builder
 
build() - Method in class io.helidon.common.concurrency.limits.AimdLimitConfig.BuilderBase.AimdLimitConfigImpl
 
build() - Method in class io.helidon.common.concurrency.limits.FixedLimitConfig.Builder
 
build() - Method in class io.helidon.common.concurrency.limits.FixedLimitConfig.BuilderBase.FixedLimitConfigImpl
 
builder() - Static method in class io.helidon.common.concurrency.limits.AimdLimit
Create a new fluent API builder to construct AimdLimit instance.
builder() - Static method in interface io.helidon.common.concurrency.limits.AimdLimitConfig
Create a new fluent API builder to customize configuration.
builder() - Static method in class io.helidon.common.concurrency.limits.FixedLimit
Create a new fluent API builder to construct FixedLimit instance.
builder() - Static method in interface io.helidon.common.concurrency.limits.FixedLimitConfig
Create a new fluent API builder to customize configuration.
builder(AimdLimitConfig) - Static method in interface io.helidon.common.concurrency.limits.AimdLimitConfig
Create a new fluent API builder from an existing instance.
builder(FixedLimitConfig) - Static method in interface io.helidon.common.concurrency.limits.FixedLimitConfig
Create a new fluent API builder from an existing instance.
BuilderBase() - Constructor for class io.helidon.common.concurrency.limits.AimdLimitConfig.BuilderBase
Protected to support extensibility.
BuilderBase() - Constructor for class io.helidon.common.concurrency.limits.FixedLimitConfig.BuilderBase
Protected to support extensibility.
buildPrototype() - Method in class io.helidon.common.concurrency.limits.AimdLimitConfig.Builder
 
buildPrototype() - Method in class io.helidon.common.concurrency.limits.FixedLimitConfig.Builder
 

C

call(Callable<T>) - Method in class io.helidon.common.concurrency.limits.AimdLimit
 
call(Callable<T>) - Method in class io.helidon.common.concurrency.limits.FixedLimit
 
call(Callable<T>) - Method in interface io.helidon.common.concurrency.limits.LimitAlgorithm
Invoke a callable within the limits of this limiter, invoking the provided Consumer with the LimitAlgorithm.Outcome resulting from applying the limit algorithm.
clearClock() - Method in class io.helidon.common.concurrency.limits.AimdLimitConfig.BuilderBase
Clear existing value of this property.
clearClock() - Method in class io.helidon.common.concurrency.limits.FixedLimitConfig.BuilderBase
Clear existing value of this property.
clearSemaphore() - Method in class io.helidon.common.concurrency.limits.FixedLimitConfig.BuilderBase
Clear existing value of this property.
clock() - Method in class io.helidon.common.concurrency.limits.AimdLimitConfig.BuilderBase.AimdLimitConfigImpl
 
clock() - Method in class io.helidon.common.concurrency.limits.AimdLimitConfig.BuilderBase
A clock that supplies nanosecond time.
clock() - Method in interface io.helidon.common.concurrency.limits.AimdLimitConfig
A clock that supplies nanosecond time.
clock() - Method in class io.helidon.common.concurrency.limits.FixedLimitConfig.BuilderBase
A clock that supplies nanosecond time.
clock() - Method in class io.helidon.common.concurrency.limits.FixedLimitConfig.BuilderBase.FixedLimitConfigImpl
 
clock() - Method in interface io.helidon.common.concurrency.limits.FixedLimitConfig
A clock that supplies nanosecond time.
clock(Supplier<Long>) - Method in class io.helidon.common.concurrency.limits.AimdLimitConfig.BuilderBase
A clock that supplies nanosecond time.
clock(Supplier<Long>) - Method in class io.helidon.common.concurrency.limits.FixedLimitConfig.BuilderBase
A clock that supplies nanosecond time.
config() - Method in class io.helidon.common.concurrency.limits.AimdLimitConfig.BuilderBase
If this instance was configured, this would be the config instance used.
config() - Method in class io.helidon.common.concurrency.limits.FixedLimitConfig.BuilderBase
If this instance was configured, this would be the config instance used.
config(Config) - Method in class io.helidon.common.concurrency.limits.AimdLimitConfig.BuilderBase
config(Config) - Method in class io.helidon.common.concurrency.limits.FixedLimitConfig.BuilderBase
config(Config) - Method in class io.helidon.common.concurrency.limits.AimdLimitConfig.BuilderBase
Update builder from configuration (node of this type).
config(Config) - Method in class io.helidon.common.concurrency.limits.FixedLimitConfig.BuilderBase
Update builder from configuration (node of this type).
configKey() - Method in class io.helidon.common.concurrency.limits.AimdLimitProvider
 
configKey() - Method in class io.helidon.common.concurrency.limits.FixedLimitProvider
 
copy() - Method in class io.helidon.common.concurrency.limits.AimdLimit
 
copy() - Method in class io.helidon.common.concurrency.limits.FixedLimit
 
copy() - Method in interface io.helidon.common.concurrency.limits.Limit
Create a copy of this limit with the same configuration.
create() - Static method in class io.helidon.common.concurrency.limits.AimdLimit
Create a new instance with all defaults.
create() - Static method in interface io.helidon.common.concurrency.limits.AimdLimitConfig
Create a new instance with default values.
create() - Static method in class io.helidon.common.concurrency.limits.FixedLimit
Create a new instance with all defaults (no limit).
create() - Static method in interface io.helidon.common.concurrency.limits.FixedLimitConfig
Create a new instance with default values.
create(AimdLimitConfig) - Static method in class io.helidon.common.concurrency.limits.AimdLimit
Create a new instance from configuration.
create(FixedLimitConfig) - Static method in class io.helidon.common.concurrency.limits.FixedLimit
Create a new instance from configuration.
create(Config) - Static method in class io.helidon.common.concurrency.limits.AimdLimit
Create a new instance from configuration.
create(Config) - Static method in interface io.helidon.common.concurrency.limits.AimdLimitConfig
create(Config) - Static method in class io.helidon.common.concurrency.limits.FixedLimit
Create a new instance from configuration.
create(Config) - Static method in interface io.helidon.common.concurrency.limits.FixedLimitConfig
create(Config, String) - Method in class io.helidon.common.concurrency.limits.AimdLimitProvider
 
create(Config, String) - Method in class io.helidon.common.concurrency.limits.FixedLimitProvider
 
create(Config) - Static method in interface io.helidon.common.concurrency.limits.AimdLimitConfig
Create a new instance from configuration.
create(Config) - Static method in interface io.helidon.common.concurrency.limits.FixedLimitConfig
Create a new instance from configuration.
create(Semaphore) - Static method in class io.helidon.common.concurrency.limits.FixedLimit
Create an instance from the provided semaphore.
create(Consumer<AimdLimitConfig.Builder>) - Static method in class io.helidon.common.concurrency.limits.AimdLimit
Create a new instance customizing its configuration.
create(Consumer<FixedLimitConfig.Builder>) - Static method in class io.helidon.common.concurrency.limits.FixedLimit
Create a new instance customizing its configuration.
create(T, LimitAlgorithm.Outcome) - Static method in interface io.helidon.common.concurrency.limits.LimitAlgorithm.Result
Creates a new Result combining the return value from the Callable and the limit algorithm LimitAlgorithm.Outcome.

D

DEFAULT_LIMIT - Static variable in class io.helidon.common.concurrency.limits.FixedLimit
Default limit, meaning unlimited execution.
DEFAULT_QUEUE_LENGTH - Static variable in class io.helidon.common.concurrency.limits.AimdLimit
Default length of the queue.
DEFAULT_QUEUE_LENGTH - Static variable in class io.helidon.common.concurrency.limits.FixedLimit
Default length of the queue.
DEFAULT_QUEUE_TIMEOUT_DURATION - Static variable in class io.helidon.common.concurrency.limits.AimdLimit
Timeout of a request that is enqueued.
DEFAULT_QUEUE_TIMEOUT_DURATION - Static variable in class io.helidon.common.concurrency.limits.FixedLimit
Timeout of a request that is enqueued.
DEFERRED - Enum constant in enum class io.helidon.common.concurrency.limits.LimitAlgorithm.Outcome.Timing
Algorithm had to wait to decide because too many concurrent executions were already in progress when it was asked about the new work item.
deferredAcceptance(String, String, LimitAlgorithm.Token, long, long) - Static method in interface io.helidon.common.concurrency.limits.LimitAlgorithm.Outcome
Creates a new LimitAlgorithm.Outcome representing a deferred acceptance of a work item.
deferredRejection(String, String, long, long) - Static method in interface io.helidon.common.concurrency.limits.LimitAlgorithm.Outcome
Creates a new LimitAlgorithm.Outcome representing a deferred rejection of a work item.
disposition() - Method in interface io.helidon.common.concurrency.limits.LimitAlgorithm.Outcome
drainPermits() - Method in class io.helidon.common.concurrency.limits.NoopSemaphore
Deprecated.
 
dropped() - Method in interface io.helidon.common.concurrency.limits.LimitAlgorithm.Token
Operation was dropped, for example because it hit a timeout, or was rejected by other limits.

E

enableMetrics() - Method in class io.helidon.common.concurrency.limits.AimdLimitConfig.BuilderBase.AimdLimitConfigImpl
 
enableMetrics() - Method in class io.helidon.common.concurrency.limits.AimdLimitConfig.BuilderBase
Whether to collect metrics for the AIMD implementation.
enableMetrics() - Method in interface io.helidon.common.concurrency.limits.AimdLimitConfig
Whether to collect metrics for the AIMD implementation.
enableMetrics() - Method in class io.helidon.common.concurrency.limits.FixedLimitConfig.BuilderBase
Whether to collect metrics for the AIMD implementation.
enableMetrics() - Method in class io.helidon.common.concurrency.limits.FixedLimitConfig.BuilderBase.FixedLimitConfigImpl
 
enableMetrics() - Method in interface io.helidon.common.concurrency.limits.FixedLimitConfig
Whether to collect metrics for the AIMD implementation.
enableMetrics(boolean) - Method in class io.helidon.common.concurrency.limits.AimdLimitConfig.BuilderBase
Whether to collect metrics for the AIMD implementation.
enableMetrics(boolean) - Method in class io.helidon.common.concurrency.limits.FixedLimitConfig.BuilderBase
Whether to collect metrics for the AIMD implementation.
equals(Object) - Method in class io.helidon.common.concurrency.limits.AimdLimitConfig.BuilderBase.AimdLimitConfigImpl
 
equals(Object) - Method in class io.helidon.common.concurrency.limits.FixedLimitConfig.BuilderBase.FixedLimitConfigImpl
 

F

fair() - Method in class io.helidon.common.concurrency.limits.AimdLimitConfig.BuilderBase.AimdLimitConfigImpl
 
fair() - Method in class io.helidon.common.concurrency.limits.AimdLimitConfig.BuilderBase
Whether the Semaphore should be Semaphore.isFair().
fair() - Method in interface io.helidon.common.concurrency.limits.AimdLimitConfig
Whether the Semaphore should be Semaphore.isFair().
fair() - Method in class io.helidon.common.concurrency.limits.FixedLimitConfig.BuilderBase
Whether the Semaphore should be Semaphore.isFair().
fair() - Method in class io.helidon.common.concurrency.limits.FixedLimitConfig.BuilderBase.FixedLimitConfigImpl
 
fair() - Method in interface io.helidon.common.concurrency.limits.FixedLimitConfig
Whether the Semaphore should be Semaphore.isFair().
fair(boolean) - Method in class io.helidon.common.concurrency.limits.AimdLimitConfig.BuilderBase
Whether the Semaphore should be Semaphore.isFair().
fair(boolean) - Method in class io.helidon.common.concurrency.limits.FixedLimitConfig.BuilderBase
Whether the Semaphore should be Semaphore.isFair().
FixedLimit - Class in io.helidon.common.concurrency.limits
Semaphore based limit, that supports queuing for a permit, and timeout on the queue.
FixedLimitConfig - Interface in io.helidon.common.concurrency.limits
Configuration of FixedLimit.
FixedLimitConfig.Builder - Class in io.helidon.common.concurrency.limits
Fluent API builder for FixedLimit.
FixedLimitConfig.BuilderBase<BUILDER,PROTOTYPE> - Class in io.helidon.common.concurrency.limits
Fluent API builder base for FixedLimit.
FixedLimitConfig.BuilderBase.FixedLimitConfigImpl - Class in io.helidon.common.concurrency.limits
Generated implementation of the prototype, can be extended by descendant prototype implementations.
FixedLimitConfigImpl(FixedLimitConfig.BuilderBase<?, ?>) - Constructor for class io.helidon.common.concurrency.limits.FixedLimitConfig.BuilderBase.FixedLimitConfigImpl
Create an instance providing a builder.
FixedLimitProvider - Class in io.helidon.common.concurrency.limits
ServiceLoader service provider for FixedLimit limit implementation.
FixedLimitProvider() - Constructor for class io.helidon.common.concurrency.limits.FixedLimitProvider
Constructor required by the service loader.
from(AimdLimitConfig) - Method in class io.helidon.common.concurrency.limits.AimdLimitConfig.BuilderBase
Update this builder from an existing prototype instance.
from(AimdLimitConfig.BuilderBase<?, ?>) - Method in class io.helidon.common.concurrency.limits.AimdLimitConfig.BuilderBase
Update this builder from an existing prototype builder instance.
from(FixedLimitConfig) - Method in class io.helidon.common.concurrency.limits.FixedLimitConfig.BuilderBase
Update this builder from an existing prototype instance.
from(FixedLimitConfig.BuilderBase<?, ?>) - Method in class io.helidon.common.concurrency.limits.FixedLimitConfig.BuilderBase
Update this builder from an existing prototype builder instance.

G

get() - Method in class io.helidon.common.concurrency.limits.AimdLimitConfig.BuilderBase.AimdLimitConfigImpl
 
get() - Method in class io.helidon.common.concurrency.limits.FixedLimitConfig.BuilderBase.FixedLimitConfigImpl
 
getQueuedThreads() - Method in class io.helidon.common.concurrency.limits.NoopSemaphore
Deprecated.
 

H

handle() - Method in exception class io.helidon.common.concurrency.limits.IgnoreTaskException
This is used by limit implementations to either return the value, or throw an exception.
hashCode() - Method in class io.helidon.common.concurrency.limits.AimdLimitConfig.BuilderBase.AimdLimitConfigImpl
 
hashCode() - Method in class io.helidon.common.concurrency.limits.FixedLimitConfig.BuilderBase.FixedLimitConfigImpl
 

I

ignore() - Method in interface io.helidon.common.concurrency.limits.LimitAlgorithm.Token
The operation failed before any meaningful RTT measurement could be made and should be ignored to not introduce an artificially low RTT.
IgnoreTaskException - Exception Class in io.helidon.common.concurrency.limits
If this exception is thrown from a limited task within LimitAlgorithm.invoke(java.util.concurrent.Callable), the invocation will be ignored by possible algorithms (for example when considering round-trip timing).
IgnoreTaskException(Exception) - Constructor for exception class io.helidon.common.concurrency.limits.IgnoreTaskException
Create a new instance with a cause.
IgnoreTaskException(Object) - Constructor for exception class io.helidon.common.concurrency.limits.IgnoreTaskException
Create a new instance with a return value.
IMMEDIATE - Enum constant in enum class io.helidon.common.concurrency.limits.LimitAlgorithm.Outcome.Timing
Algorithm decided immediately upon being invoked to evaluate whether the caller should process the work item.
immediateAcceptance(String, String, LimitAlgorithm.Token) - Static method in interface io.helidon.common.concurrency.limits.LimitAlgorithm.Outcome
Creates a new LimitAlgorithm.Outcome representing an immediate acceptance of a work item.
immediateRejection(String, String) - Static method in interface io.helidon.common.concurrency.limits.LimitAlgorithm.Outcome
Creates a new LimitAlgorithm.Outcome representing an immediate rejection of a work item.
init(String) - Method in class io.helidon.common.concurrency.limits.AimdLimit
 
init(String) - Method in class io.helidon.common.concurrency.limits.FixedLimit
Initialize metrics for this limit.
init(String) - Method in interface io.helidon.common.concurrency.limits.Limit
Initialization method for this limit.
initialLimit() - Method in class io.helidon.common.concurrency.limits.AimdLimitConfig.BuilderBase.AimdLimitConfigImpl
 
initialLimit() - Method in class io.helidon.common.concurrency.limits.AimdLimitConfig.BuilderBase
Initial limit.
initialLimit() - Method in interface io.helidon.common.concurrency.limits.AimdLimitConfig
Initial limit.
initialLimit(int) - Method in class io.helidon.common.concurrency.limits.AimdLimitConfig.BuilderBase
Initial limit.
INSTANCE - Static variable in class io.helidon.common.concurrency.limits.NoopSemaphore
Deprecated.
Singleton instance to be used whenever needed.
invoke(Runnable) - Method in interface io.helidon.common.concurrency.limits.LimitAlgorithm
Deprecated, for removal: This API element is subject to removal in a future version.
invoke(Runnable) - Method in class io.helidon.common.concurrency.limits.AimdLimit
Deprecated.
 
invoke(Runnable) - Method in class io.helidon.common.concurrency.limits.FixedLimit
Deprecated.
 
invoke(Callable<T>) - Method in interface io.helidon.common.concurrency.limits.LimitAlgorithm
Deprecated, for removal: This API element is subject to removal in a future version.
invoke(Callable<T>) - Method in class io.helidon.common.concurrency.limits.AimdLimit
Deprecated.
 
invoke(Callable<T>) - Method in class io.helidon.common.concurrency.limits.FixedLimit
Deprecated.
 
io.helidon.common.concurrency.limits - module io.helidon.common.concurrency.limits
Concurrency limits.
io.helidon.common.concurrency.limits - package io.helidon.common.concurrency.limits
Concurrency limits API and default implementations.
io.helidon.common.concurrency.limits.spi - package io.helidon.common.concurrency.limits.spi
Extension points to create custom concurrency rate limits.
isFair() - Method in class io.helidon.common.concurrency.limits.NoopSemaphore
Deprecated.
 

L

Limit - Interface in io.helidon.common.concurrency.limits
Contract for a concurrency limiter.
LimitAlgorithm - Interface in io.helidon.common.concurrency.limits
Concurrency limit algorithm.
LimitAlgorithm.Outcome - Interface in io.helidon.common.concurrency.limits
Represents the outcome of a limit algorithm decision.
LimitAlgorithm.Outcome.Accepted - Interface in io.helidon.common.concurrency.limits
Behavior of an LimitAlgorithm.Outcome representing an accepted work item.
LimitAlgorithm.Outcome.Deferred - Interface in io.helidon.common.concurrency.limits
Behavior of an LimitAlgorithm.Outcome representing a deferred decision.
LimitAlgorithm.Outcome.Disposition - Enum Class in io.helidon.common.concurrency.limits
Disposition of the work item.
LimitAlgorithm.Outcome.Timing - Enum Class in io.helidon.common.concurrency.limits
When the algorithm made its decision relative to the moment when it was asked about a particular work item.
LimitAlgorithm.Result<T> - Interface in io.helidon.common.concurrency.limits
Carrier for both the result of a Callable subjected to concurrency limits and the corresponding LimitAlgorithm.Outcome.
LimitAlgorithm.Token - Interface in io.helidon.common.concurrency.limits
When a token is retrieved from LimitAlgorithm.tryAcquire(), one of its methods must be called when the task is over, to release the token back to the pool (such as a permit returned to a Semaphore).
LimitException - Exception Class in io.helidon.common.concurrency.limits
A limit was reached and the submitted task cannot be executed.
LimitException(Exception) - Constructor for exception class io.helidon.common.concurrency.limits.LimitException
A new limit exception with a cause.
LimitException(String) - Constructor for exception class io.helidon.common.concurrency.limits.LimitException
A new limit exception with a message.
LimitProvider - Interface in io.helidon.common.concurrency.limits.spi
A ServiceLoader (and service registry) service provider to discover rate limits.

M

maxLimit() - Method in class io.helidon.common.concurrency.limits.AimdLimitConfig.BuilderBase.AimdLimitConfigImpl
 
maxLimit() - Method in class io.helidon.common.concurrency.limits.AimdLimitConfig.BuilderBase
Maximal limit.
maxLimit() - Method in interface io.helidon.common.concurrency.limits.AimdLimitConfig
Maximal limit.
maxLimit(int) - Method in class io.helidon.common.concurrency.limits.AimdLimitConfig.BuilderBase
Maximal limit.
minLimit() - Method in class io.helidon.common.concurrency.limits.AimdLimitConfig.BuilderBase.AimdLimitConfigImpl
 
minLimit() - Method in class io.helidon.common.concurrency.limits.AimdLimitConfig.BuilderBase
Minimal limit.
minLimit() - Method in interface io.helidon.common.concurrency.limits.AimdLimitConfig
Minimal limit.
minLimit(int) - Method in class io.helidon.common.concurrency.limits.AimdLimitConfig.BuilderBase
Minimal limit.

N

name() - Method in class io.helidon.common.concurrency.limits.AimdLimit
 
name() - Method in class io.helidon.common.concurrency.limits.AimdLimitConfig.BuilderBase.AimdLimitConfigImpl
 
name() - Method in class io.helidon.common.concurrency.limits.AimdLimitConfig.BuilderBase
Name of this instance.
name() - Method in interface io.helidon.common.concurrency.limits.AimdLimitConfig
Name of this instance.
name() - Method in class io.helidon.common.concurrency.limits.FixedLimit
 
name() - Method in class io.helidon.common.concurrency.limits.FixedLimitConfig.BuilderBase.FixedLimitConfigImpl
 
name() - Method in class io.helidon.common.concurrency.limits.FixedLimitConfig.BuilderBase
Name of this instance.
name() - Method in interface io.helidon.common.concurrency.limits.FixedLimitConfig
Name of this instance.
name(String) - Method in class io.helidon.common.concurrency.limits.AimdLimitConfig.BuilderBase
Name of this instance.
name(String) - Method in class io.helidon.common.concurrency.limits.FixedLimitConfig.BuilderBase
Name of this instance.
NoopSemaphore - Class in io.helidon.common.concurrency.limits
Deprecated, for removal: This API element is subject to removal in a future version.
this is only provided for backward compatibility and will be removed, use FixedLimit.create() to get unlimited limit

O

originName() - Method in interface io.helidon.common.concurrency.limits.LimitAlgorithm.Outcome
Origin (e.g., socket name) of the work item.
outcome() - Method in interface io.helidon.common.concurrency.limits.LimitAlgorithm.Result
LimitAlgorithm.Outcome of the limit algorithm.

P

permits() - Method in class io.helidon.common.concurrency.limits.FixedLimitConfig.BuilderBase.FixedLimitConfigImpl
 
permits() - Method in class io.helidon.common.concurrency.limits.FixedLimitConfig.BuilderBase
Number of permit to allow.
permits() - Method in interface io.helidon.common.concurrency.limits.FixedLimitConfig
Number of permit to allow.
permits(int) - Method in class io.helidon.common.concurrency.limits.FixedLimitConfig.BuilderBase
Number of permit to allow.
preBuildPrototype() - Method in class io.helidon.common.concurrency.limits.AimdLimitConfig.BuilderBase
Handles providers and decorators.
preBuildPrototype() - Method in class io.helidon.common.concurrency.limits.FixedLimitConfig.BuilderBase
Handles providers and decorators.
prototype() - Method in class io.helidon.common.concurrency.limits.AimdLimit
 
prototype() - Method in class io.helidon.common.concurrency.limits.FixedLimit
 

Q

queueLength() - Method in class io.helidon.common.concurrency.limits.AimdLimitConfig.BuilderBase.AimdLimitConfigImpl
 
queueLength() - Method in class io.helidon.common.concurrency.limits.AimdLimitConfig.BuilderBase
How many requests can be enqueued waiting for a permit after the max limit is reached.
queueLength() - Method in interface io.helidon.common.concurrency.limits.AimdLimitConfig
How many requests can be enqueued waiting for a permit after the max limit is reached.
queueLength() - Method in class io.helidon.common.concurrency.limits.FixedLimitConfig.BuilderBase.FixedLimitConfigImpl
 
queueLength() - Method in class io.helidon.common.concurrency.limits.FixedLimitConfig.BuilderBase
How many requests can be enqueued waiting for a permit.
queueLength() - Method in interface io.helidon.common.concurrency.limits.FixedLimitConfig
How many requests can be enqueued waiting for a permit.
queueLength(int) - Method in class io.helidon.common.concurrency.limits.AimdLimitConfig.BuilderBase
How many requests can be enqueued waiting for a permit after the max limit is reached.
queueLength(int) - Method in class io.helidon.common.concurrency.limits.FixedLimitConfig.BuilderBase
How many requests can be enqueued waiting for a permit.
queueTimeout() - Method in class io.helidon.common.concurrency.limits.AimdLimitConfig.BuilderBase.AimdLimitConfigImpl
 
queueTimeout() - Method in class io.helidon.common.concurrency.limits.AimdLimitConfig.BuilderBase
How long to wait for a permit when enqueued.
queueTimeout() - Method in interface io.helidon.common.concurrency.limits.AimdLimitConfig
How long to wait for a permit when enqueued.
queueTimeout() - Method in class io.helidon.common.concurrency.limits.FixedLimitConfig.BuilderBase.FixedLimitConfigImpl
 
queueTimeout() - Method in class io.helidon.common.concurrency.limits.FixedLimitConfig.BuilderBase
How long to wait for a permit when enqueued.
queueTimeout() - Method in interface io.helidon.common.concurrency.limits.FixedLimitConfig
How long to wait for a permit when enqueued.
queueTimeout(Duration) - Method in class io.helidon.common.concurrency.limits.AimdLimitConfig.BuilderBase
How long to wait for a permit when enqueued.
queueTimeout(Duration) - Method in class io.helidon.common.concurrency.limits.FixedLimitConfig.BuilderBase
How long to wait for a permit when enqueued.

R

reducePermits(int) - Method in class io.helidon.common.concurrency.limits.NoopSemaphore
Deprecated.
 
REJECTED - Enum constant in enum class io.helidon.common.concurrency.limits.LimitAlgorithm.Outcome.Disposition
Algorithm rejects the work due to concurrency limit constratins.
release() - Method in class io.helidon.common.concurrency.limits.NoopSemaphore
Deprecated.
 
release(int) - Method in class io.helidon.common.concurrency.limits.NoopSemaphore
Deprecated.
 
result() - Method in interface io.helidon.common.concurrency.limits.LimitAlgorithm.Result
Value returned from the Callable computation.
run(Runnable) - Method in class io.helidon.common.concurrency.limits.AimdLimit
 
run(Runnable) - Method in class io.helidon.common.concurrency.limits.FixedLimit
 
run(Runnable) - Method in interface io.helidon.common.concurrency.limits.LimitAlgorithm
Invoke a runnable within the limits of this limiter, invoking the provided Consumer with the LimitAlgorithm.Outcome resulting from applying the limit algorithm.

S

semaphore() - Method in class io.helidon.common.concurrency.limits.AimdLimit
 
semaphore() - Method in class io.helidon.common.concurrency.limits.FixedLimit
 
semaphore() - Method in class io.helidon.common.concurrency.limits.FixedLimitConfig.BuilderBase.FixedLimitConfigImpl
 
semaphore() - Method in class io.helidon.common.concurrency.limits.FixedLimitConfig.BuilderBase
Explicitly configured semaphore.
semaphore() - Method in interface io.helidon.common.concurrency.limits.FixedLimitConfig
Explicitly configured semaphore.
semaphore() - Method in interface io.helidon.common.concurrency.limits.SemaphoreLimit
Deprecated, for removal: This API element is subject to removal in a future version.
this only exists for backward compatibility of Helidon WebServer and will be removed
semaphore(Semaphore) - Method in class io.helidon.common.concurrency.limits.FixedLimitConfig.BuilderBase
Explicitly configured semaphore.
SemaphoreLimit - Interface in io.helidon.common.concurrency.limits
Deprecated, for removal: This API element is subject to removal in a future version.
DO NOT USE except for backward compatibility with semaphore based handling
success() - Method in interface io.helidon.common.concurrency.limits.LimitAlgorithm.Token
Notification that the operation succeeded and internally measured latency should be used as an RTT sample.

T

timeout() - Method in class io.helidon.common.concurrency.limits.AimdLimitConfig.BuilderBase.AimdLimitConfigImpl
 
timeout() - Method in class io.helidon.common.concurrency.limits.AimdLimitConfig.BuilderBase
Timeout that when exceeded is the same as if the task failed.
timeout() - Method in interface io.helidon.common.concurrency.limits.AimdLimitConfig
Timeout that when exceeded is the same as if the task failed.
timeout(Duration) - Method in class io.helidon.common.concurrency.limits.AimdLimitConfig.BuilderBase
Timeout that when exceeded is the same as if the task failed.
timing() - Method in interface io.helidon.common.concurrency.limits.LimitAlgorithm.Outcome
The LimitAlgorithm.Outcome.Timing of the decision about the work item.
token() - Method in interface io.helidon.common.concurrency.limits.LimitAlgorithm.Outcome.Accepted
The LimitAlgorithm.Token the caller should invoke as it processes or rejects the work item.
toString() - Method in class io.helidon.common.concurrency.limits.AimdLimitConfig.BuilderBase.AimdLimitConfigImpl
 
toString() - Method in class io.helidon.common.concurrency.limits.AimdLimitConfig.BuilderBase
 
toString() - Method in class io.helidon.common.concurrency.limits.FixedLimitConfig.BuilderBase.FixedLimitConfigImpl
 
toString() - Method in class io.helidon.common.concurrency.limits.FixedLimitConfig.BuilderBase
 
toString() - Method in class io.helidon.common.concurrency.limits.NoopSemaphore
Deprecated.
 
tryAcquire() - Method in interface io.helidon.common.concurrency.limits.LimitAlgorithm
Deprecated, for removal: This API element is subject to removal in a future version.
tryAcquire() - Method in class io.helidon.common.concurrency.limits.AimdLimit
Deprecated.
 
tryAcquire() - Method in class io.helidon.common.concurrency.limits.FixedLimit
Deprecated.
 
tryAcquire() - Method in class io.helidon.common.concurrency.limits.NoopSemaphore
Deprecated.
 
tryAcquire(boolean) - Method in interface io.helidon.common.concurrency.limits.LimitAlgorithm
Deprecated, for removal: This API element is subject to removal in a future version.
tryAcquire(boolean) - Method in class io.helidon.common.concurrency.limits.AimdLimit
Deprecated.
 
tryAcquire(boolean) - Method in class io.helidon.common.concurrency.limits.FixedLimit
Deprecated.
 
tryAcquire(int) - Method in class io.helidon.common.concurrency.limits.NoopSemaphore
Deprecated.
 
tryAcquire(int, long, TimeUnit) - Method in class io.helidon.common.concurrency.limits.NoopSemaphore
Deprecated.
 
tryAcquire(long, TimeUnit) - Method in class io.helidon.common.concurrency.limits.NoopSemaphore
Deprecated.
 
tryAcquireOutcome() - Method in interface io.helidon.common.concurrency.limits.LimitAlgorithm
Try to acquire a token, waiting for available permits for the configured amount of time, if queuing is enabled.
tryAcquireOutcome(boolean) - Method in class io.helidon.common.concurrency.limits.AimdLimit
 
tryAcquireOutcome(boolean) - Method in class io.helidon.common.concurrency.limits.FixedLimit
 
tryAcquireOutcome(boolean) - Method in interface io.helidon.common.concurrency.limits.LimitAlgorithm
Tries to acquire a token, waiting for available permits for the configured amount of time, if wait is enabled, returning immediately otherwise.
type() - Method in class io.helidon.common.concurrency.limits.AimdLimit
 
type() - Method in class io.helidon.common.concurrency.limits.FixedLimit
 

U

UNKNOWN - Enum constant in enum class io.helidon.common.concurrency.limits.LimitAlgorithm.Outcome.Timing
Deprecated, for removal: This API element is subject to removal in a future version.

V

validatePrototype() - Method in class io.helidon.common.concurrency.limits.AimdLimitConfig.BuilderBase
Validates required properties.
validatePrototype() - Method in class io.helidon.common.concurrency.limits.FixedLimitConfig.BuilderBase
Validates required properties.
valueOf(String) - Static method in enum class io.helidon.common.concurrency.limits.LimitAlgorithm.Outcome.Disposition
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class io.helidon.common.concurrency.limits.LimitAlgorithm.Outcome.Timing
Returns the enum constant of this class with the specified name.
values() - Static method in enum class io.helidon.common.concurrency.limits.LimitAlgorithm.Outcome.Disposition
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class io.helidon.common.concurrency.limits.LimitAlgorithm.Outcome.Timing
Returns an array containing the constants of this enum class, in the order they are declared.

W

waitEndNanoTime() - Method in interface io.helidon.common.concurrency.limits.LimitAlgorithm.Outcome.Deferred
End (in system nanos) of the work item's waiting time.
waitStartNanoTime() - Method in interface io.helidon.common.concurrency.limits.LimitAlgorithm.Outcome.Deferred
Start (in system nanos) of the work item's waiting time.
A B C D E F G H I L M N O P Q R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form