Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- AbstractTimeLimiterEvent - Class in io.github.resilience4j.timelimiter.event
- AbstractTimeLimiterEvent(String, TimeLimiterEvent.Type) - Constructor for class io.github.resilience4j.timelimiter.event.AbstractTimeLimiterEvent
B
- build() - Method in class io.github.resilience4j.timelimiter.TimeLimiterConfig.Builder
-
Builds a TimeLimiterConfig
- Builder() - Constructor for class io.github.resilience4j.timelimiter.TimeLimiterConfig.Builder
- Builder(TimeLimiterConfig) - Constructor for class io.github.resilience4j.timelimiter.TimeLimiterConfig.Builder
C
- cancelRunningFuture - Variable in class io.github.resilience4j.timelimiter.TimeLimiterConfig.Builder
- cancelRunningFuture - Variable in class io.github.resilience4j.timelimiter.TimeLimiterConfig
- cancelRunningFuture(boolean) - Method in class io.github.resilience4j.timelimiter.TimeLimiterConfig.Builder
-
Configures whether cancel is called on the running future Defaults to TRUE
- checkTimeoutDuration(Duration) - Static method in class io.github.resilience4j.timelimiter.TimeLimiterConfig
- consumeEvent(TimeLimiterEvent) - Method in class io.github.resilience4j.timelimiter.internal.TimeLimiterEventProcessor
- createdTimeoutExceptionWithName(String, Throwable) - Static method in interface io.github.resilience4j.timelimiter.TimeLimiter
- creationTime - Variable in class io.github.resilience4j.timelimiter.event.AbstractTimeLimiterEvent
- custom() - Static method in class io.github.resilience4j.timelimiter.TimeLimiterConfig
-
Returns a builder to create a custom TimeLimiterConfig.
D
- decorateCompletionStage(TimeLimiter, ScheduledExecutorService, Supplier) - Static method in interface io.github.resilience4j.timelimiter.TimeLimiter
-
Decorate a CompletionStage supplier which is decorated by a TimeLimiter
- decorateCompletionStage(ScheduledExecutorService, Supplier) - Method in class io.github.resilience4j.timelimiter.internal.TimeLimiterImpl
- decorateCompletionStage(ScheduledExecutorService, Supplier) - Method in interface io.github.resilience4j.timelimiter.TimeLimiter
-
Decorate a CompletionStage supplier which is decorated by a TimeLimiter
- decorateFutureSupplier(TimeLimiter, Supplier) - Static method in interface io.github.resilience4j.timelimiter.TimeLimiter
-
Creates a Callback that is restricted by a TimeLimiter.
- decorateFutureSupplier(Supplier) - Method in class io.github.resilience4j.timelimiter.internal.TimeLimiterImpl
- decorateFutureSupplier(Supplier) - Method in interface io.github.resilience4j.timelimiter.TimeLimiter
-
Creates a Callback that is restricted by a TimeLimiter.
- DEFAULT_NAME - Static variable in interface io.github.resilience4j.timelimiter.TimeLimiter
- DEFAULT_PREFIX - Static variable in class io.github.resilience4j.timelimiter.utils.MetricNames
E
- ERROR - Enum constant in enum class io.github.resilience4j.timelimiter.event.TimeLimiterEvent.Type
- eventProcessor - Variable in class io.github.resilience4j.timelimiter.internal.TimeLimiterImpl
- eventType - Variable in class io.github.resilience4j.timelimiter.event.AbstractTimeLimiterEvent
- executeCompletionStage(ScheduledExecutorService, Supplier) - Method in interface io.github.resilience4j.timelimiter.TimeLimiter
-
Decorates and executes the CompletionStage Supplier
- executeFutureSupplier(Supplier) - Method in interface io.github.resilience4j.timelimiter.TimeLimiter
-
Decorates and executes the Future Supplier.
F
- FAILED - Static variable in class io.github.resilience4j.timelimiter.utils.MetricNames
- from(TimeLimiterConfig) - Static method in class io.github.resilience4j.timelimiter.TimeLimiterConfig
G
- getAllTimeLimiters() - Method in class io.github.resilience4j.timelimiter.internal.InMemoryTimeLimiterRegistry
-
Returns all managed
TimeLimiterinstances. - getAllTimeLimiters() - Method in interface io.github.resilience4j.timelimiter.TimeLimiterRegistry
-
Returns all managed
TimeLimiterinstances. - getCreationTime() - Method in class io.github.resilience4j.timelimiter.event.AbstractTimeLimiterEvent
- getCreationTime() - Method in interface io.github.resilience4j.timelimiter.event.TimeLimiterEvent
- getEventPublisher() - Method in class io.github.resilience4j.timelimiter.internal.TimeLimiterImpl
- getEventPublisher() - Method in interface io.github.resilience4j.timelimiter.TimeLimiter
-
Returns an EventPublisher which can be used to register event consumers.
- getEventType() - Method in class io.github.resilience4j.timelimiter.event.AbstractTimeLimiterEvent
- getEventType() - Method in interface io.github.resilience4j.timelimiter.event.TimeLimiterEvent
- getName() - Method in class io.github.resilience4j.timelimiter.internal.TimeLimiterImpl
- getName() - Method in interface io.github.resilience4j.timelimiter.TimeLimiter
- getTags() - Method in class io.github.resilience4j.timelimiter.internal.TimeLimiterImpl
- getTags() - Method in interface io.github.resilience4j.timelimiter.TimeLimiter
-
Returns an unmodifiable map with tags assigned to this TimeLimiter.
- getThrowable() - Method in class io.github.resilience4j.timelimiter.event.TimeLimiterOnErrorEvent
- getTimeLimiterConfig() - Method in class io.github.resilience4j.timelimiter.internal.TimeLimiterImpl
- getTimeLimiterConfig() - Method in interface io.github.resilience4j.timelimiter.TimeLimiter
-
Get the TimeLimiterConfig of this TimeLimiter decorator.
- getTimeLimiterName() - Method in class io.github.resilience4j.timelimiter.event.AbstractTimeLimiterEvent
- getTimeLimiterName() - Method in interface io.github.resilience4j.timelimiter.event.TimeLimiterEvent
- getTimeoutDuration() - Method in class io.github.resilience4j.timelimiter.TimeLimiterConfig
I
- InMemoryTimeLimiterRegistry - Class in io.github.resilience4j.timelimiter.internal
-
Backend TimeLimiter manager.
- InMemoryTimeLimiterRegistry() - Constructor for class io.github.resilience4j.timelimiter.internal.InMemoryTimeLimiterRegistry
-
The constructor with default default.
- InMemoryTimeLimiterRegistry(TimeLimiterConfig) - Constructor for class io.github.resilience4j.timelimiter.internal.InMemoryTimeLimiterRegistry
-
The constructor with custom default config.
- InMemoryTimeLimiterRegistry(TimeLimiterConfig, RegistryEventConsumer) - Constructor for class io.github.resilience4j.timelimiter.internal.InMemoryTimeLimiterRegistry
- InMemoryTimeLimiterRegistry(TimeLimiterConfig, RegistryEventConsumer, Map) - Constructor for class io.github.resilience4j.timelimiter.internal.InMemoryTimeLimiterRegistry
- InMemoryTimeLimiterRegistry(TimeLimiterConfig, List) - Constructor for class io.github.resilience4j.timelimiter.internal.InMemoryTimeLimiterRegistry
- InMemoryTimeLimiterRegistry(TimeLimiterConfig, List, Map) - Constructor for class io.github.resilience4j.timelimiter.internal.InMemoryTimeLimiterRegistry
- InMemoryTimeLimiterRegistry(TimeLimiterConfig, Map) - Constructor for class io.github.resilience4j.timelimiter.internal.InMemoryTimeLimiterRegistry
- InMemoryTimeLimiterRegistry(Map) - Constructor for class io.github.resilience4j.timelimiter.internal.InMemoryTimeLimiterRegistry
- InMemoryTimeLimiterRegistry(Map, RegistryEventConsumer) - Constructor for class io.github.resilience4j.timelimiter.internal.InMemoryTimeLimiterRegistry
- InMemoryTimeLimiterRegistry(Map, RegistryEventConsumer, Map) - Constructor for class io.github.resilience4j.timelimiter.internal.InMemoryTimeLimiterRegistry
- InMemoryTimeLimiterRegistry(Map, List) - Constructor for class io.github.resilience4j.timelimiter.internal.InMemoryTimeLimiterRegistry
- InMemoryTimeLimiterRegistry(Map, List, Map) - Constructor for class io.github.resilience4j.timelimiter.internal.InMemoryTimeLimiterRegistry
- InMemoryTimeLimiterRegistry(Map, Map) - Constructor for class io.github.resilience4j.timelimiter.internal.InMemoryTimeLimiterRegistry
- io.github.resilience4j.timelimiter - package io.github.resilience4j.timelimiter
- io.github.resilience4j.timelimiter.event - package io.github.resilience4j.timelimiter.event
- io.github.resilience4j.timelimiter.internal - package io.github.resilience4j.timelimiter.internal
- io.github.resilience4j.timelimiter.utils - package io.github.resilience4j.timelimiter.utils
- ITERABLE_NULL - Static variable in class io.github.resilience4j.timelimiter.utils.MetricNames
L
- LOG - Static variable in class io.github.resilience4j.timelimiter.internal.TimeLimiterImpl
M
- MetricNames - Class in io.github.resilience4j.timelimiter.utils
- MetricNames() - Constructor for class io.github.resilience4j.timelimiter.utils.MetricNames
N
- name - Variable in class io.github.resilience4j.timelimiter.internal.TimeLimiterImpl
O
- of(TimeLimiterConfig) - Static method in interface io.github.resilience4j.timelimiter.TimeLimiter
-
Creates a TimeLimiter decorator with a TimeLimiterConfig configuration.
- of(TimeLimiterConfig) - Static method in interface io.github.resilience4j.timelimiter.TimeLimiterRegistry
-
Creates a TimeLimiterRegistry with a custom default TimeLimiter configuration.
- of(TimeLimiterConfig, RegistryEventConsumer) - Static method in interface io.github.resilience4j.timelimiter.TimeLimiterRegistry
-
Creates a TimeLimiterRegistry with a custom default TimeLimiter configuration and a TimeLimiter registry event consumer.
- of(TimeLimiterConfig, List) - Static method in interface io.github.resilience4j.timelimiter.TimeLimiterRegistry
-
Creates a TimeLimiterRegistry with a custom default TimeLimiter configuration and a list of TimeLimiter registry event consumers.
- of(String, TimeLimiterConfig) - Static method in interface io.github.resilience4j.timelimiter.TimeLimiter
-
Creates a TimeLimiter decorator with a TimeLimiterConfig configuration.
- of(String, TimeLimiterConfig, Map) - Static method in interface io.github.resilience4j.timelimiter.TimeLimiter
-
Creates a TimeLimiter with a custom TimeLimiter configuration.
- of(Duration) - Static method in interface io.github.resilience4j.timelimiter.TimeLimiter
-
Creates a TimeLimiter decorator with a timeout Duration.
- of(CompletableFuture, ScheduledExecutorService, String, long, TimeUnit) - Static method in class io.github.resilience4j.timelimiter.internal.TimeLimiterImpl.Timeout
- of(Map) - Static method in interface io.github.resilience4j.timelimiter.TimeLimiterRegistry
-
Creates a TimeLimiterRegistry with a Map of shared TimeLimiter configurations.
- of(Map, RegistryEventConsumer) - Static method in interface io.github.resilience4j.timelimiter.TimeLimiterRegistry
-
Creates a TimeLimiterRegistry with a Map of shared TimeLimiter configurations and a TimeLimiter registry event consumer.
- of(Map, RegistryEventConsumer, Map) - Static method in interface io.github.resilience4j.timelimiter.TimeLimiterRegistry
-
Creates a TimeLimiterRegistry with a Map of shared TimeLimiter configurations and a TimeLimiter registry event consumer.
- of(Map, List) - Static method in interface io.github.resilience4j.timelimiter.TimeLimiterRegistry
-
Creates a TimeLimiterRegistry with a Map of shared TimeLimiter configurations and a list of TimeLimiter registry event consumers.
- of(Map, Map) - Static method in interface io.github.resilience4j.timelimiter.TimeLimiterRegistry
-
Creates a TimeLimiterRegistry with a Map of shared TimeLimiter configurations.
- ofDefaults() - Static method in interface io.github.resilience4j.timelimiter.TimeLimiter
-
Creates a TimeLimiter decorator with a default TimeLimiterConfig configuration.
- ofDefaults() - Static method in class io.github.resilience4j.timelimiter.TimeLimiterConfig
-
Creates a default TimeLimiter configuration.
- ofDefaults() - Static method in interface io.github.resilience4j.timelimiter.TimeLimiterRegistry
-
Returns a managed
TimeLimiterConfigor creates a new one with a default TimeLimiter configuration. - ofDefaults(String) - Static method in interface io.github.resilience4j.timelimiter.TimeLimiter
-
Creates a TimeLimiter decorator with a default TimeLimiterConfig configuration.
- onError(EventConsumer) - Method in class io.github.resilience4j.timelimiter.internal.TimeLimiterEventProcessor
- onError(EventConsumer) - Method in interface io.github.resilience4j.timelimiter.TimeLimiter.EventPublisher
- onError(Throwable) - Method in class io.github.resilience4j.timelimiter.internal.TimeLimiterImpl
- onError(Throwable) - Method in interface io.github.resilience4j.timelimiter.TimeLimiter
-
Records a failed call.
- onFailure(Throwable) - Method in class io.github.resilience4j.timelimiter.internal.TimeLimiterImpl
- onSuccess() - Method in class io.github.resilience4j.timelimiter.internal.TimeLimiterImpl
- onSuccess() - Method in interface io.github.resilience4j.timelimiter.TimeLimiter
-
Records a successful call.
- onSuccess(EventConsumer) - Method in class io.github.resilience4j.timelimiter.internal.TimeLimiterEventProcessor
- onSuccess(EventConsumer) - Method in interface io.github.resilience4j.timelimiter.TimeLimiter.EventPublisher
- onTimeout() - Method in class io.github.resilience4j.timelimiter.internal.TimeLimiterImpl
- onTimeout(EventConsumer) - Method in class io.github.resilience4j.timelimiter.internal.TimeLimiterEventProcessor
- onTimeout(EventConsumer) - Method in interface io.github.resilience4j.timelimiter.TimeLimiter.EventPublisher
P
- PREFIX_NULL - Static variable in class io.github.resilience4j.timelimiter.utils.MetricNames
- publishEvent(TimeLimiterEvent) - Method in class io.github.resilience4j.timelimiter.internal.TimeLimiterImpl
S
- serialVersionUID - Static variable in class io.github.resilience4j.timelimiter.TimeLimiterConfig
- shouldCancelRunningFuture() - Method in class io.github.resilience4j.timelimiter.TimeLimiterConfig
- SUCCESS - Enum constant in enum class io.github.resilience4j.timelimiter.event.TimeLimiterEvent.Type
- SUCCESSFUL - Static variable in class io.github.resilience4j.timelimiter.utils.MetricNames
T
- tags - Variable in class io.github.resilience4j.timelimiter.internal.TimeLimiterImpl
- throwable - Variable in class io.github.resilience4j.timelimiter.event.TimeLimiterOnErrorEvent
- timeLimiter(String) - Method in class io.github.resilience4j.timelimiter.internal.InMemoryTimeLimiterRegistry
-
Returns a managed
TimeLimiteror creates a new one with the default TimeLimiter configuration. - timeLimiter(String) - Method in interface io.github.resilience4j.timelimiter.TimeLimiterRegistry
-
Returns a managed
TimeLimiteror creates a new one with the default TimeLimiter configuration. - timeLimiter(String, TimeLimiterConfig) - Method in class io.github.resilience4j.timelimiter.internal.InMemoryTimeLimiterRegistry
-
Returns a managed
TimeLimiteror creates a new one with a custom TimeLimiter configuration. - timeLimiter(String, TimeLimiterConfig) - Method in interface io.github.resilience4j.timelimiter.TimeLimiterRegistry
-
Returns a managed
TimeLimiteror creates a new one with a custom TimeLimiter configuration. - timeLimiter(String, TimeLimiterConfig, Map) - Method in class io.github.resilience4j.timelimiter.internal.InMemoryTimeLimiterRegistry
- timeLimiter(String, TimeLimiterConfig, Map) - Method in interface io.github.resilience4j.timelimiter.TimeLimiterRegistry
-
Returns a managed
TimeLimiteror creates a new one with a custom TimeLimiter configuration. - timeLimiter(String, String) - Method in class io.github.resilience4j.timelimiter.internal.InMemoryTimeLimiterRegistry
-
Returns a managed
TimeLimiteror creates a new one. - timeLimiter(String, String) - Method in interface io.github.resilience4j.timelimiter.TimeLimiterRegistry
-
Returns a managed
TimeLimiteror creates a new one. - timeLimiter(String, String, Map) - Method in class io.github.resilience4j.timelimiter.internal.InMemoryTimeLimiterRegistry
- timeLimiter(String, String, Map) - Method in interface io.github.resilience4j.timelimiter.TimeLimiterRegistry
-
Returns a managed
TimeLimiteror creates a new one. - timeLimiter(String, Supplier) - Method in class io.github.resilience4j.timelimiter.internal.InMemoryTimeLimiterRegistry
-
Returns a managed
TimeLimiterConfigor creates a new one with a custom TimeLimiterConfig configuration. - timeLimiter(String, Supplier) - Method in interface io.github.resilience4j.timelimiter.TimeLimiterRegistry
-
Returns a managed
TimeLimiterConfigor creates a new one with a custom TimeLimiterConfig configuration. - timeLimiter(String, Supplier, Map) - Method in class io.github.resilience4j.timelimiter.internal.InMemoryTimeLimiterRegistry
- timeLimiter(String, Supplier, Map) - Method in interface io.github.resilience4j.timelimiter.TimeLimiterRegistry
-
Returns a managed
TimeLimiteror creates a new one with a custom TimeLimiter configuration. - timeLimiter(String, Map) - Method in class io.github.resilience4j.timelimiter.internal.InMemoryTimeLimiterRegistry
- timeLimiter(String, Map) - Method in interface io.github.resilience4j.timelimiter.TimeLimiterRegistry
-
Returns a managed
TimeLimiteror creates a new one with the default TimeLimiter configuration. - TimeLimiter - Interface in io.github.resilience4j.timelimiter
-
A TimeLimiter decorator stops execution after a configurable duration.
- TimeLimiter.EventPublisher - Interface in io.github.resilience4j.timelimiter
-
An EventPublisher which can be used to register event consumers.
- timeLimiterConfig - Variable in class io.github.resilience4j.timelimiter.internal.TimeLimiterImpl
- TimeLimiterConfig - Class in io.github.resilience4j.timelimiter
- TimeLimiterConfig() - Constructor for class io.github.resilience4j.timelimiter.TimeLimiterConfig
- TimeLimiterConfig.Builder - Class in io.github.resilience4j.timelimiter
- TimeLimiterEvent - Interface in io.github.resilience4j.timelimiter.event
-
An event which is created by a
TimeLimiter. - TimeLimiterEvent.Type - Enum Class in io.github.resilience4j.timelimiter.event
- TimeLimiterEventProcessor - Class in io.github.resilience4j.timelimiter.internal
- TimeLimiterEventProcessor() - Constructor for class io.github.resilience4j.timelimiter.internal.TimeLimiterEventProcessor
- TimeLimiterImpl - Class in io.github.resilience4j.timelimiter.internal
- TimeLimiterImpl(String, TimeLimiterConfig) - Constructor for class io.github.resilience4j.timelimiter.internal.TimeLimiterImpl
- TimeLimiterImpl(String, TimeLimiterConfig, Map) - Constructor for class io.github.resilience4j.timelimiter.internal.TimeLimiterImpl
- TimeLimiterImpl.Timeout - Class in io.github.resilience4j.timelimiter.internal
-
Completes CompletableFuture with
TimeoutException. - timeLimiterName - Variable in class io.github.resilience4j.timelimiter.event.AbstractTimeLimiterEvent
- TimeLimiterOnErrorEvent - Class in io.github.resilience4j.timelimiter.event
- TimeLimiterOnErrorEvent(String, Throwable) - Constructor for class io.github.resilience4j.timelimiter.event.TimeLimiterOnErrorEvent
- TimeLimiterOnSuccessEvent - Class in io.github.resilience4j.timelimiter.event
- TimeLimiterOnSuccessEvent(String) - Constructor for class io.github.resilience4j.timelimiter.event.TimeLimiterOnSuccessEvent
- TimeLimiterOnTimeoutEvent - Class in io.github.resilience4j.timelimiter.event
- TimeLimiterOnTimeoutEvent(String) - Constructor for class io.github.resilience4j.timelimiter.event.TimeLimiterOnTimeoutEvent
- TimeLimiterRegistry - Interface in io.github.resilience4j.timelimiter
-
Manages all TimeLimiter instances.
- Timeout() - Constructor for class io.github.resilience4j.timelimiter.internal.TimeLimiterImpl.Timeout
- TIMEOUT - Enum constant in enum class io.github.resilience4j.timelimiter.event.TimeLimiterEvent.Type
- TIMEOUT - Static variable in class io.github.resilience4j.timelimiter.utils.MetricNames
- TIMEOUT_DURATION_MUST_NOT_BE_NULL - Static variable in class io.github.resilience4j.timelimiter.TimeLimiterConfig
- timeoutDuration - Variable in class io.github.resilience4j.timelimiter.TimeLimiterConfig.Builder
- timeoutDuration - Variable in class io.github.resilience4j.timelimiter.TimeLimiterConfig
- timeoutDuration(Duration) - Method in class io.github.resilience4j.timelimiter.TimeLimiterConfig.Builder
-
Configures the thread execution timeout Default value is 1 second.
- toString() - Method in class io.github.resilience4j.timelimiter.event.AbstractTimeLimiterEvent
- toString() - Method in class io.github.resilience4j.timelimiter.event.TimeLimiterOnErrorEvent
- toString() - Method in class io.github.resilience4j.timelimiter.event.TimeLimiterOnSuccessEvent
- toString() - Method in class io.github.resilience4j.timelimiter.event.TimeLimiterOnTimeoutEvent
- toString() - Method in class io.github.resilience4j.timelimiter.TimeLimiterConfig
- Type() - Constructor for enum class io.github.resilience4j.timelimiter.event.TimeLimiterEvent.Type
V
- valueOf(String) - Static method in enum class io.github.resilience4j.timelimiter.event.TimeLimiterEvent.Type
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class io.github.resilience4j.timelimiter.event.TimeLimiterEvent.Type
-
Returns an array containing the constants of this enum class, in the order they are declared.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form