Uses of Class
io.github.resilience4j.ratelimiter.RateLimiterConfig
Packages that use RateLimiterConfig
-
Uses of RateLimiterConfig in io.github.resilience4j.ratelimiter
Subinterfaces with type arguments of type RateLimiterConfig in io.github.resilience4j.ratelimiterModifier and TypeInterfaceDescriptioninterfaceManages all RateLimiter instances.Fields in io.github.resilience4j.ratelimiter with type parameters of type RateLimiterConfigModifier and TypeFieldDescriptionprivate Map<String, RateLimiterConfig> RateLimiterRegistry.Builder.rateLimiterConfigsMapMethods in io.github.resilience4j.ratelimiter that return RateLimiterConfigModifier and TypeMethodDescriptionRateLimiterConfig.Builder.build()Builds a RateLimiterConfigRateLimiter.getRateLimiterConfig()Get the RateLimiterConfig of this RateLimiter.static RateLimiterConfigRateLimiterConfig.ofDefaults()Creates a default RateLimiter configuration.Methods in io.github.resilience4j.ratelimiter with parameters of type RateLimiterConfigModifier and TypeMethodDescriptionRateLimiterRegistry.Builder.addRateLimiterConfig(String configName, RateLimiterConfig configuration) Configures a RateLimiterRegistry with a custom RateLimiter configuration.static RateLimiterConfig.BuilderRateLimiterConfig.from(RateLimiterConfig prototype) Returns a builder to create a custom RateLimiterConfig using specified config as prototypestatic RateLimiterRateLimiter.of(String name, RateLimiterConfig rateLimiterConfig) Creates a RateLimiter with a custom RateLimiter configuration.static RateLimiterCreates a RateLimiter with a custom RateLimiter configuration.static RateLimiterRegistryRateLimiterRegistry.of(RateLimiterConfig defaultRateLimiterConfig) Creates a RateLimiterRegistry with a custom RateLimiter configuration.static RateLimiterRegistryRateLimiterRegistry.of(RateLimiterConfig defaultRateLimiterConfig, io.github.resilience4j.core.registry.RegistryEventConsumer<RateLimiter> registryEventConsumer) Creates a RateLimiterRegistry with a custom default RateLimiter configuration and a RateLimiter registry event consumer.static RateLimiterRegistryRateLimiterRegistry.of(RateLimiterConfig defaultRateLimiterConfig, List<io.github.resilience4j.core.registry.RegistryEventConsumer<RateLimiter>> registryEventConsumers) Creates a RateLimiterRegistry with a custom default RateLimiter configuration and a list of RateLimiter registry event consumers.RateLimiterRegistry.rateLimiter(String name, RateLimiterConfig rateLimiterConfig) Returns a managedRateLimiteror creates a new one with a custom RateLimiter configuration.RateLimiterRegistry.rateLimiter(String name, RateLimiterConfig rateLimiterConfig, Map<String, String> tags) Returns a managedRateLimiteror creates a new one with a custom RateLimiter configuration.RateLimiterRegistry.Builder.withRateLimiterConfig(RateLimiterConfig rateLimiterConfig) Configures a RateLimiterRegistry with a custom default RateLimiter configuration.Method parameters in io.github.resilience4j.ratelimiter with type arguments of type RateLimiterConfigModifier and TypeMethodDescriptionstatic RateLimiterRateLimiter.of(String name, Supplier<RateLimiterConfig> rateLimiterConfigSupplier) Creates a RateLimiter with a custom RateLimiterConfig configuration.static RateLimiterRateLimiter.of(String name, Supplier<RateLimiterConfig> rateLimiterConfigSupplier, Map<String, String> tags) Creates a RateLimiter with a custom RateLimiterConfig configuration.static RateLimiterRegistryRateLimiterRegistry.of(Map<String, RateLimiterConfig> configs) Creates a ThreadPoolBulkheadRegistry with a Map of shared RateLimiter configurations.static RateLimiterRegistryRateLimiterRegistry.of(Map<String, RateLimiterConfig> configs, io.github.resilience4j.core.registry.RegistryEventConsumer<RateLimiter> registryEventConsumer) Creates a RateLimiterRegistry with a Map of shared RateLimiter configurations and a RateLimiter registry event consumer.static RateLimiterRegistryRateLimiterRegistry.of(Map<String, RateLimiterConfig> configs, io.github.resilience4j.core.registry.RegistryEventConsumer<RateLimiter> registryEventConsumer, Map<String, String> tags) Creates a RateLimiterRegistry with a Map of shared RateLimiter configurations and a RateLimiter registry event consumer.static RateLimiterRegistryRateLimiterRegistry.of(Map<String, RateLimiterConfig> configs, List<io.github.resilience4j.core.registry.RegistryEventConsumer<RateLimiter>> registryEventConsumers) Creates a RateLimiterRegistry with a Map of shared RateLimiter configurations and a list of RateLimiter registry event consumers.static RateLimiterRegistryCreates a ThreadPoolBulkheadRegistry with a Map of shared RateLimiter configurations.RateLimiterRegistry.rateLimiter(String name, Supplier<RateLimiterConfig> rateLimiterConfigSupplier) Returns a managedRateLimiterConfigor creates a new one with a custom RateLimiterConfig configuration.RateLimiterRegistry.rateLimiter(String name, Supplier<RateLimiterConfig> rateLimiterConfigSupplier, Map<String, String> tags) Returns a managedRateLimiterConfigor creates a new one with a custom RateLimiterConfig configuration.Constructors in io.github.resilience4j.ratelimiter with parameters of type RateLimiterConfig -
Uses of RateLimiterConfig in io.github.resilience4j.ratelimiter.internal
Subclasses with type arguments of type RateLimiterConfig in io.github.resilience4j.ratelimiter.internalFields in io.github.resilience4j.ratelimiter.internal declared as RateLimiterConfigFields in io.github.resilience4j.ratelimiter.internal with type parameters of type RateLimiterConfigModifier and TypeFieldDescriptionprivate final AtomicReference<RateLimiterConfig> SemaphoreBasedRateLimiter.rateLimiterConfigMethods in io.github.resilience4j.ratelimiter.internal that return RateLimiterConfigModifier and TypeMethodDescriptionAtomicRateLimiter.getRateLimiterConfig()Get the RateLimiterConfig of this RateLimiter.SemaphoreBasedRateLimiter.getRateLimiterConfig()Get the RateLimiterConfig of this RateLimiter.Methods in io.github.resilience4j.ratelimiter.internal with parameters of type RateLimiterConfigModifier and TypeMethodDescriptionInMemoryRateLimiterRegistry.rateLimiter(String name, RateLimiterConfig config) Returns a managedRateLimiteror creates a new one with a custom RateLimiter configuration.InMemoryRateLimiterRegistry.rateLimiter(String name, RateLimiterConfig config, Map<String, String> tags) Returns a managedRateLimiteror creates a new one with a custom RateLimiter configuration.private AtomicRateLimiter.StateAtomicRateLimiter.reservePermissions(RateLimiterConfig config, int permits, long timeoutInNanos, long cycle, int permissions, long nanosToWait) Determines whether caller can acquire permission before timeout or not and then creates correspondingAtomicRateLimiter.State.Method parameters in io.github.resilience4j.ratelimiter.internal with type arguments of type RateLimiterConfigModifier and TypeMethodDescriptionInMemoryRateLimiterRegistry.rateLimiter(String name, Supplier<RateLimiterConfig> rateLimiterConfigSupplier) Returns a managedRateLimiterConfigor creates a new one with a custom RateLimiterConfig configuration.InMemoryRateLimiterRegistry.rateLimiter(String name, Supplier<RateLimiterConfig> rateLimiterConfigSupplier, Map<String, String> tags) Returns a managedRateLimiterConfigor creates a new one with a custom RateLimiterConfig configuration.Constructors in io.github.resilience4j.ratelimiter.internal with parameters of type RateLimiterConfigModifierConstructorDescriptionAtomicRateLimiter(String name, RateLimiterConfig rateLimiterConfig) AtomicRateLimiter(String name, RateLimiterConfig rateLimiterConfig, Map<String, String> tags) InMemoryRateLimiterRegistry(RateLimiterConfig defaultConfig) The constructor with custom default config.InMemoryRateLimiterRegistry(RateLimiterConfig defaultConfig, io.github.resilience4j.core.registry.RegistryEventConsumer<RateLimiter> registryEventConsumer) InMemoryRateLimiterRegistry(RateLimiterConfig defaultConfig, io.github.resilience4j.core.registry.RegistryEventConsumer<RateLimiter> registryEventConsumer, Map<String, String> tags) InMemoryRateLimiterRegistry(RateLimiterConfig defaultConfig, List<io.github.resilience4j.core.registry.RegistryEventConsumer<RateLimiter>> registryEventConsumers) InMemoryRateLimiterRegistry(RateLimiterConfig defaultConfig, List<io.github.resilience4j.core.registry.RegistryEventConsumer<RateLimiter>> registryEventConsumers, Map<String, String> tags) InMemoryRateLimiterRegistry(RateLimiterConfig defaultConfig, Map<String, String> tags) SemaphoreBasedRateLimiter(String name, RateLimiterConfig rateLimiterConfig) Creates a RateLimiter.SemaphoreBasedRateLimiter(String name, RateLimiterConfig rateLimiterConfig, ScheduledExecutorService scheduler) Creates a RateLimiter.SemaphoreBasedRateLimiter(String name, RateLimiterConfig rateLimiterConfig, ScheduledExecutorService scheduler, Map<String, String> tags) Creates a RateLimiter.SemaphoreBasedRateLimiter(String name, RateLimiterConfig rateLimiterConfig, Map<String, String> tags) Creates a RateLimiter.privateState(RateLimiterConfig config, long activeCycle, int activePermissions, long nanosToWait) Constructor parameters in io.github.resilience4j.ratelimiter.internal with type arguments of type RateLimiterConfigModifierConstructorDescriptionInMemoryRateLimiterRegistry(Map<String, RateLimiterConfig> configs) InMemoryRateLimiterRegistry(Map<String, RateLimiterConfig> configs, io.github.resilience4j.core.registry.RegistryEventConsumer<RateLimiter> registryEventConsumer) InMemoryRateLimiterRegistry(Map<String, RateLimiterConfig> configs, io.github.resilience4j.core.registry.RegistryEventConsumer<RateLimiter> registryEventConsumer, Map<String, String> tags) InMemoryRateLimiterRegistry(Map<String, RateLimiterConfig> configs, List<io.github.resilience4j.core.registry.RegistryEventConsumer<RateLimiter>> registryEventConsumers) InMemoryRateLimiterRegistry(Map<String, RateLimiterConfig> configs, List<io.github.resilience4j.core.registry.RegistryEventConsumer<RateLimiter>> registryEventConsumers, Map<String, String> tags) InMemoryRateLimiterRegistry(Map<String, RateLimiterConfig> configs, List<io.github.resilience4j.core.registry.RegistryEventConsumer<RateLimiter>> registryEventConsumers, Map<String, String> tags, io.github.resilience4j.core.RegistryStore<RateLimiter> registryStore) InMemoryRateLimiterRegistry(Map<String, RateLimiterConfig> configs, Map<String, String> tags)