Uses of Enum Class
org.miaixz.bus.limiter.magic.StrategyMode
Packages that use StrategyMode
Package
Description
Provides core classes for service request flow control and limiting functionalities.
Provides core interfaces and enumerations for defining limiting strategies and flow grades.
Provides classes related to metric management and strategy implementation for the limiter module.
-
Uses of StrategyMode in org.miaixz.bus.limiter
Methods in org.miaixz.bus.limiter that return StrategyModeModifier and TypeMethodDescriptionProvider.get()Retrieves the limiting strategy associated with this provider.Methods in org.miaixz.bus.limiter with parameters of type StrategyMode -
Uses of StrategyMode in org.miaixz.bus.limiter.magic
Methods in org.miaixz.bus.limiter.magic that return StrategyModeModifier and TypeMethodDescriptionstatic StrategyModeReturns the enum constant of this class with the specified name.static StrategyMode[]StrategyMode.values()Returns an array containing the constants of this enum class, in the order they are declared. -
Uses of StrategyMode in org.miaixz.bus.limiter.metric
Methods in org.miaixz.bus.limiter.metric that return StrategyModeModifier and TypeMethodDescriptionFallbackProvider.get()Returns the strategy mode supported by this provider, which isFALLBACK.MethodProvider.get()Returns the strategy mode supported by this provider, which isHOT_METHOD.RequestProvider.get()Returns the strategy mode supported by this provider, which isREQUEST_LIMIT.Methods in org.miaixz.bus.limiter.metric that return types with arguments of type StrategyModeModifier and TypeMethodDescriptionstatic org.miaixz.bus.core.lang.tuple.Pair<StrategyMode, Annotation> MethodManager.getAnnoInfo(String name) Retrieves the limiting strategy and annotation information for a given method name.Methods in org.miaixz.bus.limiter.metric with parameters of type StrategyModeModifier and TypeMethodDescriptionstatic ProviderStrategyManager.get(StrategyMode strategyMode) Retrieves theProviderresponsible for executing a specificStrategyMode.Method parameters in org.miaixz.bus.limiter.metric with type arguments of type StrategyModeModifier and TypeMethodDescriptionstatic voidMethodManager.addMethod(String name, org.miaixz.bus.core.lang.tuple.Pair<StrategyMode, Annotation> pair) Adds a method and its associated limiting strategy and annotation to the manager.