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.Tokenthe 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.OutcomeLimitAlgorithm.Outcome.deferredAcceptance(String originName, String algorithmType, LimitAlgorithm.Token token, long waitStartNanos, long waitEndNanos) Creates a newLimitAlgorithm.Outcomerepresenting a deferred acceptance of a work item.static LimitAlgorithm.OutcomeLimitAlgorithm.Outcome.immediateAcceptance(String originName, String algorithmType, LimitAlgorithm.Token token) Creates a newLimitAlgorithm.Outcomerepresenting an immediate acceptance of a work item.
LimitAlgorithm.tryAcquireOutcome().