Uses of Interface
io.helidon.common.concurrency.limits.LimitAlgorithm.Token
Packages that use LimitAlgorithm.Token
Package
Description
Concurrency limits API and default implementations.
-
Uses of LimitAlgorithm.Token in io.helidon.common.concurrency.limits
Methods in io.helidon.common.concurrency.limits that return LimitAlgorithm.TokenModifier and TypeMethodDescriptionLimitAlgorithm.Outcome.Accepted.token()
TheLimitAlgorithm.Token
the caller should invoke as it processes or rejects the work item.Methods in io.helidon.common.concurrency.limits that return types with arguments of type LimitAlgorithm.TokenModifier and TypeMethodDescriptionLimitAlgorithm.tryAcquire()
Deprecated, for removal: This API element is subject to removal in a future version.LimitAlgorithm.tryAcquire
(boolean wait) Deprecated, for removal: This API element is subject to removal in a future version.Methods in io.helidon.common.concurrency.limits with parameters of type LimitAlgorithm.TokenModifier and TypeMethodDescriptionstatic LimitAlgorithm.Outcome
LimitAlgorithm.Outcome.deferredAcceptance
(String originName, String algorithmType, LimitAlgorithm.Token token, long waitStartNanos, long waitEndNanos) Creates a newLimitAlgorithm.Outcome
representing a deferred acceptance of a work item.static LimitAlgorithm.Outcome
LimitAlgorithm.Outcome.immediateAcceptance
(String originName, String algorithmType, LimitAlgorithm.Token token) Creates a newLimitAlgorithm.Outcome
representing an immediate acceptance of a work item.
LimitAlgorithm.tryAcquireOutcome()
.