ox.resilience.RateLimiterAlgorithm
See theRateLimiterAlgorithm companion object
Determines the algorithm to use for the rate limiter
Attributes
-
Companion
-
object
-
Graph
-
-
Supertypes
-
class Object
trait Matchable
class Any
-
Known subtypes
-
Members list
Acquires permits to execute the operation. This method should block until a permit is available.
Acquires permits to execute the operation. This method should block until a permit is available.
Attributes
Returns the time in nanoseconds that needs to elapse until the next update. It should not modify internal state.
Returns the time in nanoseconds that needs to elapse until the next update. It should not modify internal state.
Attributes
Tries to acquire permits to execute the operation. This method should not block.
Tries to acquire permits to execute the operation. This method should not block.
Attributes
Updates the internal state of the rate limiter to check whether new operations can be accepted.
Updates the internal state of the rate limiter to check whether new operations can be accepted.
Attributes
Acquires a permit to execute the operation. This method should block until a permit is available.
Acquires a permit to execute the operation. This method should block until a permit is available.
Attributes
Tries to acquire a permit to execute the operation. This method should not block.
Tries to acquire a permit to execute the operation. This method should not block.
Attributes