- decorateCallable(RateLimiter, Callable<T>) - Static method in interface io.github.resilience4j.ratelimiter.RateLimiter
-
Creates a callable which is restricted by a RateLimiter.
- decorateCallable(RateLimiter, int, Callable<T>) - Static method in interface io.github.resilience4j.ratelimiter.RateLimiter
-
Creates a callable which is restricted by a RateLimiter.
- decorateCheckedFunction(RateLimiter, CheckedFunction1<T, R>) - Static method in interface io.github.resilience4j.ratelimiter.RateLimiter
-
Creates a function which is restricted by a RateLimiter.
- decorateCheckedFunction(RateLimiter, int, CheckedFunction1<T, R>) - Static method in interface io.github.resilience4j.ratelimiter.RateLimiter
-
Creates a function which is restricted by a RateLimiter.
- decorateCheckedFunction(RateLimiter, Function<T, Integer>, CheckedFunction1<T, R>) - Static method in interface io.github.resilience4j.ratelimiter.RateLimiter
-
Creates a function which is restricted by a RateLimiter.
- decorateCheckedRunnable(RateLimiter, CheckedRunnable) - Static method in interface io.github.resilience4j.ratelimiter.RateLimiter
-
Creates a runnable which is restricted by a RateLimiter.
- decorateCheckedRunnable(RateLimiter, int, CheckedRunnable) - Static method in interface io.github.resilience4j.ratelimiter.RateLimiter
-
Creates a runnable which is restricted by a RateLimiter.
- decorateCheckedSupplier(RateLimiter, CheckedFunction0<T>) - Static method in interface io.github.resilience4j.ratelimiter.RateLimiter
-
Creates a supplier which is restricted by a RateLimiter.
- decorateCheckedSupplier(RateLimiter, int, CheckedFunction0<T>) - Static method in interface io.github.resilience4j.ratelimiter.RateLimiter
-
Creates a supplier which is restricted by a RateLimiter.
- decorateCompletionStage(RateLimiter, Supplier<CompletionStage<T>>) - Static method in interface io.github.resilience4j.ratelimiter.RateLimiter
-
Returns a supplier which is decorated by a rateLimiter.
- decorateCompletionStage(RateLimiter, int, Supplier<CompletionStage<T>>) - Static method in interface io.github.resilience4j.ratelimiter.RateLimiter
-
Returns a supplier which is decorated by a rateLimiter.
- decorateConsumer(RateLimiter, Consumer<T>) - Static method in interface io.github.resilience4j.ratelimiter.RateLimiter
-
Creates a consumer which is restricted by a RateLimiter.
- decorateConsumer(RateLimiter, int, Consumer<T>) - Static method in interface io.github.resilience4j.ratelimiter.RateLimiter
-
Creates a consumer which is restricted by a RateLimiter.
- decorateConsumer(RateLimiter, Function<T, Integer>, Consumer<T>) - Static method in interface io.github.resilience4j.ratelimiter.RateLimiter
-
Creates a consumer which is restricted by a RateLimiter.
- decorateEitherSupplier(RateLimiter, Supplier<Either<? extends Exception, T>>) - Static method in interface io.github.resilience4j.ratelimiter.RateLimiter
-
Creates a supplier which is restricted by a RateLimiter.
- decorateEitherSupplier(RateLimiter, int, Supplier<Either<? extends Exception, T>>) - Static method in interface io.github.resilience4j.ratelimiter.RateLimiter
-
Creates a supplier which is restricted by a RateLimiter.
- decorateFunction(RateLimiter, Function<T, R>) - Static method in interface io.github.resilience4j.ratelimiter.RateLimiter
-
Creates a function which is restricted by a RateLimiter.
- decorateFunction(RateLimiter, int, Function<T, R>) - Static method in interface io.github.resilience4j.ratelimiter.RateLimiter
-
Creates a function which is restricted by a RateLimiter.
- decorateFunction(RateLimiter, Function<T, Integer>, Function<T, R>) - Static method in interface io.github.resilience4j.ratelimiter.RateLimiter
-
Creates a function which is restricted by a RateLimiter.
- decorateFuture(RateLimiter, Supplier<? extends F>) - Static method in interface io.github.resilience4j.ratelimiter.RateLimiter
-
Returns a Supplier which is decorated by a RateLimiter.
- decorateFuture(RateLimiter, int, Supplier<? extends F>) - Static method in interface io.github.resilience4j.ratelimiter.RateLimiter
-
Returns a Supplier which is decorated by a RateLimiter.
- decorateRunnable(RateLimiter, Runnable) - Static method in interface io.github.resilience4j.ratelimiter.RateLimiter
-
Creates a runnable which is restricted by a RateLimiter.
- decorateRunnable(RateLimiter, int, Runnable) - Static method in interface io.github.resilience4j.ratelimiter.RateLimiter
-
Creates a runnable which is restricted by a RateLimiter.
- decorateSupplier(RateLimiter, Supplier<T>) - Static method in interface io.github.resilience4j.ratelimiter.RateLimiter
-
Creates a supplier which is restricted by a RateLimiter.
- decorateSupplier(RateLimiter, int, Supplier<T>) - Static method in interface io.github.resilience4j.ratelimiter.RateLimiter
-
Creates a supplier which is restricted by a RateLimiter.
- decorateTrySupplier(RateLimiter, Supplier<Try<T>>) - Static method in interface io.github.resilience4j.ratelimiter.RateLimiter
-
Creates a supplier which is restricted by a RateLimiter.
- decorateTrySupplier(RateLimiter, int, Supplier<Try<T>>) - Static method in interface io.github.resilience4j.ratelimiter.RateLimiter
-
Creates a supplier which is restricted by a RateLimiter.
- DEFAULT_PREFIX - Static variable in class io.github.resilience4j.ratelimiter.utils.MetricNames
-
- getAllRateLimiters() - Method in class io.github.resilience4j.ratelimiter.internal.InMemoryRateLimiterRegistry
-
- getAllRateLimiters() - Method in interface io.github.resilience4j.ratelimiter.RateLimiterRegistry
-
- getAvailablePermissions() - Method in class io.github.resilience4j.ratelimiter.internal.AtomicRateLimiter.AtomicRateLimiterMetrics
-
Estimates count of available permissions.
- getAvailablePermissions() - Method in interface io.github.resilience4j.ratelimiter.RateLimiter.Metrics
-
Estimates count of available permissions.
- getCreationTime() - Method in class io.github.resilience4j.ratelimiter.event.AbstractRateLimiterEvent
-
- getCreationTime() - Method in interface io.github.resilience4j.ratelimiter.event.RateLimiterEvent
-
- getCycle() - Method in class io.github.resilience4j.ratelimiter.internal.AtomicRateLimiter.AtomicRateLimiterMetrics
-
- getDetailedMetrics() - Method in class io.github.resilience4j.ratelimiter.internal.AtomicRateLimiter
-
Get the enhanced Metrics with some implementation specific details.
- getEventPublisher() - Method in class io.github.resilience4j.ratelimiter.internal.AtomicRateLimiter
-
- getEventPublisher() - Method in class io.github.resilience4j.ratelimiter.internal.SemaphoreBasedRateLimiter
-
- getEventPublisher() - Method in interface io.github.resilience4j.ratelimiter.RateLimiter
-
Returns an EventPublisher which can be used to register event consumers.
- getEventType() - Method in interface io.github.resilience4j.ratelimiter.event.RateLimiterEvent
-
- getEventType() - Method in class io.github.resilience4j.ratelimiter.event.RateLimiterOnFailureEvent
-
- getEventType() - Method in class io.github.resilience4j.ratelimiter.event.RateLimiterOnSuccessEvent
-
- getLimitForPeriod() - Method in class io.github.resilience4j.ratelimiter.RateLimiterConfig
-
- getLimitRefreshPeriod() - Method in class io.github.resilience4j.ratelimiter.RateLimiterConfig
-
- getMetrics() - Method in class io.github.resilience4j.ratelimiter.internal.AtomicRateLimiter
-
Get the Metrics of this RateLimiter.
- getMetrics() - Method in class io.github.resilience4j.ratelimiter.internal.SemaphoreBasedRateLimiter
-
Get the Metrics of this RateLimiter.
- getMetrics() - Method in interface io.github.resilience4j.ratelimiter.RateLimiter
-
Get the Metrics of this RateLimiter.
- getName() - Method in class io.github.resilience4j.ratelimiter.internal.AtomicRateLimiter
-
Get the name of this RateLimiter
- getName() - Method in class io.github.resilience4j.ratelimiter.internal.SemaphoreBasedRateLimiter
-
Get the name of this RateLimiter
- getName() - Method in interface io.github.resilience4j.ratelimiter.RateLimiter
-
Get the name of this RateLimiter
- getNanosToWait() - Method in class io.github.resilience4j.ratelimiter.internal.AtomicRateLimiter.AtomicRateLimiterMetrics
-
- getNumberOfPermits() - Method in class io.github.resilience4j.ratelimiter.event.AbstractRateLimiterEvent
-
- getNumberOfPermits() - Method in interface io.github.resilience4j.ratelimiter.event.RateLimiterEvent
-
- getNumberOfWaitingThreads() - Method in class io.github.resilience4j.ratelimiter.internal.AtomicRateLimiter.AtomicRateLimiterMetrics
-
Returns an estimate of the number of threads waiting for permission in this JVM process.
- getNumberOfWaitingThreads() - Method in interface io.github.resilience4j.ratelimiter.RateLimiter.Metrics
-
Returns an estimate of the number of threads waiting for permission in this JVM process.
- getRateLimiterConfig() - Method in class io.github.resilience4j.ratelimiter.internal.AtomicRateLimiter
-
Get the RateLimiterConfig of this RateLimiter.
- getRateLimiterConfig() - Method in class io.github.resilience4j.ratelimiter.internal.SemaphoreBasedRateLimiter
-
Get the RateLimiterConfig of this RateLimiter.
- getRateLimiterConfig() - Method in interface io.github.resilience4j.ratelimiter.RateLimiter
-
Get the RateLimiterConfig of this RateLimiter.
- getRateLimiterName() - Method in class io.github.resilience4j.ratelimiter.event.AbstractRateLimiterEvent
-
- getRateLimiterName() - Method in interface io.github.resilience4j.ratelimiter.event.RateLimiterEvent
-
- getTags() - Method in class io.github.resilience4j.ratelimiter.internal.AtomicRateLimiter
-
Returns an unmodifiable map with tags assigned to this RateLimiter.
- getTags() - Method in class io.github.resilience4j.ratelimiter.internal.SemaphoreBasedRateLimiter
-
- getTags() - Method in interface io.github.resilience4j.ratelimiter.RateLimiter
-
Returns an unmodifiable map with tags assigned to this RateLimiter.
- getTimeoutDuration() - Method in class io.github.resilience4j.ratelimiter.RateLimiterConfig
-
- of(String, RateLimiterConfig) - Static method in interface io.github.resilience4j.ratelimiter.RateLimiter
-
Creates a RateLimiter with a custom RateLimiter configuration.
- of(String, RateLimiterConfig, Map<String, String>) - Static method in interface io.github.resilience4j.ratelimiter.RateLimiter
-
Creates a RateLimiter with a custom RateLimiter configuration.
- of(String, Supplier<RateLimiterConfig>) - Static method in interface io.github.resilience4j.ratelimiter.RateLimiter
-
Creates a RateLimiter with a custom RateLimiterConfig configuration.
- of(String, Supplier<RateLimiterConfig>, Map<String, String>) - Static method in interface io.github.resilience4j.ratelimiter.RateLimiter
-
Creates a RateLimiter with a custom RateLimiterConfig configuration.
- of(RateLimiterConfig) - Static method in interface io.github.resilience4j.ratelimiter.RateLimiterRegistry
-
Creates a RateLimiterRegistry with a custom RateLimiter configuration.
- of(RateLimiterConfig, RegistryEventConsumer<RateLimiter>) - Static method in interface io.github.resilience4j.ratelimiter.RateLimiterRegistry
-
Creates a RateLimiterRegistry with a custom default RateLimiter configuration and a
RateLimiter registry event consumer.
- of(RateLimiterConfig, List<RegistryEventConsumer<RateLimiter>>) - Static method in interface io.github.resilience4j.ratelimiter.RateLimiterRegistry
-
Creates a RateLimiterRegistry with a custom default RateLimiter configuration and a list of
RateLimiter registry event consumers.
- of(Map<String, RateLimiterConfig>) - Static method in interface io.github.resilience4j.ratelimiter.RateLimiterRegistry
-
Creates a ThreadPoolBulkheadRegistry with a Map of shared RateLimiter configurations.
- of(Map<String, RateLimiterConfig>, Map<String, String>) - Static method in interface io.github.resilience4j.ratelimiter.RateLimiterRegistry
-
Creates a ThreadPoolBulkheadRegistry with a Map of shared RateLimiter configurations.
- of(Map<String, RateLimiterConfig>, RegistryEventConsumer<RateLimiter>) - Static method in interface io.github.resilience4j.ratelimiter.RateLimiterRegistry
-
Creates a RateLimiterRegistry with a Map of shared RateLimiter configurations and a
RateLimiter registry event consumer.
- of(Map<String, RateLimiterConfig>, RegistryEventConsumer<RateLimiter>, Map<String, String>) - Static method in interface io.github.resilience4j.ratelimiter.RateLimiterRegistry
-
Creates a RateLimiterRegistry with a Map of shared RateLimiter configurations and a
RateLimiter registry event consumer.
- of(Map<String, RateLimiterConfig>, List<RegistryEventConsumer<RateLimiter>>) - Static method in interface io.github.resilience4j.ratelimiter.RateLimiterRegistry
-
Creates a RateLimiterRegistry with a Map of shared RateLimiter configurations and a list of
RateLimiter registry event consumers.
- ofDefaults(String) - Static method in interface io.github.resilience4j.ratelimiter.RateLimiter
-
Creates a RateLimiter with a default RateLimiterConfig configuration.
- ofDefaults() - Static method in class io.github.resilience4j.ratelimiter.RateLimiterConfig
-
Creates a default RateLimiter configuration.
- ofDefaults() - Static method in interface io.github.resilience4j.ratelimiter.RateLimiterRegistry
-
Returns a managed
RateLimiterConfig or creates a new one with a default RateLimiter
configuration.
- onFailure(EventConsumer<RateLimiterOnFailureEvent>) - Method in class io.github.resilience4j.ratelimiter.internal.RateLimiterEventProcessor
-
- onFailure(EventConsumer<RateLimiterOnFailureEvent>) - Method in interface io.github.resilience4j.ratelimiter.RateLimiter.EventPublisher
-
- onSuccess(EventConsumer<RateLimiterOnSuccessEvent>) - Method in class io.github.resilience4j.ratelimiter.internal.RateLimiterEventProcessor
-
- onSuccess(EventConsumer<RateLimiterOnSuccessEvent>) - Method in interface io.github.resilience4j.ratelimiter.RateLimiter.EventPublisher
-