@ConfigurationProperties(value="resilience4j.ratelimiter")
public class RateLimiterRegistryConfiguration
extends java.lang.Object
implements io.micronaut.core.util.Toggleable
| Constructor and Description |
|---|
RateLimiterRegistryConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
java.util.Optional<java.util.Map<java.lang.String,java.lang.String>> |
getTags() |
boolean |
isEnabled() |
void |
setEnabled(boolean enabled) |
void |
setTags(java.util.Map<java.lang.String,java.lang.String> tags) |
public boolean isEnabled()
isEnabled in interface io.micronaut.core.util.Toggleablepublic void setEnabled(boolean enabled)
enabled - True if the resilience4j rate limiter should be enabledpublic java.util.Optional<java.util.Map<java.lang.String,java.lang.String>> getTags()
public void setTags(@MapFormat(keyFormat=RAW)
java.util.Map<java.lang.String,java.lang.String> tags)
tags - The registry tags