Index

A B C D E F G I M O P S T V 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

AbstractTimeLimiterEvent - Class in io.github.resilience4j.timelimiter.event
 

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(boolean) - Method in class io.github.resilience4j.timelimiter.TimeLimiterConfig.Builder
Configures whether cancel is called on the running future Defaults to TRUE
consumeEvent(TimeLimiterEvent) - Method in class io.github.resilience4j.timelimiter.internal.TimeLimiterEventProcessor
 
createdTimeoutExceptionWithName(String, Throwable) - Static method in interface io.github.resilience4j.timelimiter.TimeLimiter
 
custom() - Static method in class io.github.resilience4j.timelimiter.TimeLimiterConfig
Returns a builder to create a custom TimeLimiterConfig.

D

decorateCompletionStage(TimeLimiter, ScheduledExecutorService, Supplier<F>) - Static method in interface io.github.resilience4j.timelimiter.TimeLimiter
Decorate a CompletionStage supplier which is decorated by a TimeLimiter
decorateCompletionStage(ScheduledExecutorService, Supplier<F>) - Method in class io.github.resilience4j.timelimiter.internal.TimeLimiterImpl
 
decorateCompletionStage(ScheduledExecutorService, Supplier<F>) - Method in interface io.github.resilience4j.timelimiter.TimeLimiter
Decorate a CompletionStage supplier which is decorated by a TimeLimiter
decorateFutureSupplier(TimeLimiter, Supplier<F>) - Static method in interface io.github.resilience4j.timelimiter.TimeLimiter
Creates a Callback that is restricted by a TimeLimiter.
decorateFutureSupplier(Supplier<F>) - Method in class io.github.resilience4j.timelimiter.internal.TimeLimiterImpl
 
decorateFutureSupplier(Supplier<F>) - 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
 
executeCompletionStage(ScheduledExecutorService, Supplier<F>) - Method in interface io.github.resilience4j.timelimiter.TimeLimiter
Decorates and executes the CompletionStage Supplier
executeFutureSupplier(Supplier<F>) - 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 TimeLimiter instances.
getAllTimeLimiters() - Method in interface io.github.resilience4j.timelimiter.TimeLimiterRegistry
Returns all managed TimeLimiter instances.
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<TimeLimiter>) - Constructor for class io.github.resilience4j.timelimiter.internal.InMemoryTimeLimiterRegistry
 
InMemoryTimeLimiterRegistry(TimeLimiterConfig, RegistryEventConsumer<TimeLimiter>, Map<String, String>) - Constructor for class io.github.resilience4j.timelimiter.internal.InMemoryTimeLimiterRegistry
 
InMemoryTimeLimiterRegistry(TimeLimiterConfig, List<RegistryEventConsumer<TimeLimiter>>) - Constructor for class io.github.resilience4j.timelimiter.internal.InMemoryTimeLimiterRegistry
 
InMemoryTimeLimiterRegistry(TimeLimiterConfig, List<RegistryEventConsumer<TimeLimiter>>, Map<String, String>) - Constructor for class io.github.resilience4j.timelimiter.internal.InMemoryTimeLimiterRegistry
 
InMemoryTimeLimiterRegistry(TimeLimiterConfig, Map<String, String>) - Constructor for class io.github.resilience4j.timelimiter.internal.InMemoryTimeLimiterRegistry
 
InMemoryTimeLimiterRegistry(Map<String, TimeLimiterConfig>) - Constructor for class io.github.resilience4j.timelimiter.internal.InMemoryTimeLimiterRegistry
 
InMemoryTimeLimiterRegistry(Map<String, TimeLimiterConfig>, RegistryEventConsumer<TimeLimiter>) - Constructor for class io.github.resilience4j.timelimiter.internal.InMemoryTimeLimiterRegistry
 
InMemoryTimeLimiterRegistry(Map<String, TimeLimiterConfig>, RegistryEventConsumer<TimeLimiter>, Map<String, String>) - Constructor for class io.github.resilience4j.timelimiter.internal.InMemoryTimeLimiterRegistry
 
InMemoryTimeLimiterRegistry(Map<String, TimeLimiterConfig>, List<RegistryEventConsumer<TimeLimiter>>) - Constructor for class io.github.resilience4j.timelimiter.internal.InMemoryTimeLimiterRegistry
 
InMemoryTimeLimiterRegistry(Map<String, TimeLimiterConfig>, List<RegistryEventConsumer<TimeLimiter>>, Map<String, String>) - Constructor for class io.github.resilience4j.timelimiter.internal.InMemoryTimeLimiterRegistry
 
InMemoryTimeLimiterRegistry(Map<String, TimeLimiterConfig>, Map<String, String>) - 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
 

M

MetricNames - Class in io.github.resilience4j.timelimiter.utils
 

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<TimeLimiter>) - 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<RegistryEventConsumer<TimeLimiter>>) - 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<String, String>) - 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(Map<String, TimeLimiterConfig>) - Static method in interface io.github.resilience4j.timelimiter.TimeLimiterRegistry
Creates a TimeLimiterRegistry with a Map of shared TimeLimiter configurations.
of(Map<String, TimeLimiterConfig>, RegistryEventConsumer<TimeLimiter>) - 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<String, TimeLimiterConfig>, RegistryEventConsumer<TimeLimiter>, Map<String, String>) - 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<String, TimeLimiterConfig>, List<RegistryEventConsumer<TimeLimiter>>) - 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<String, TimeLimiterConfig>, Map<String, String>) - 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 TimeLimiterConfig or 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<TimeLimiterOnErrorEvent>) - Method in class io.github.resilience4j.timelimiter.internal.TimeLimiterEventProcessor
 
onError(EventConsumer<TimeLimiterOnErrorEvent>) - 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.
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<TimeLimiterOnSuccessEvent>) - Method in class io.github.resilience4j.timelimiter.internal.TimeLimiterEventProcessor
 
onSuccess(EventConsumer<TimeLimiterOnSuccessEvent>) - Method in interface io.github.resilience4j.timelimiter.TimeLimiter.EventPublisher
 
onTimeout(EventConsumer<TimeLimiterOnTimeoutEvent>) - Method in class io.github.resilience4j.timelimiter.internal.TimeLimiterEventProcessor
 
onTimeout(EventConsumer<TimeLimiterOnTimeoutEvent>) - Method in interface io.github.resilience4j.timelimiter.TimeLimiter.EventPublisher
 

P

PREFIX_NULL - Static variable in class io.github.resilience4j.timelimiter.utils.MetricNames
 

S

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

timeLimiter(String) - Method in class io.github.resilience4j.timelimiter.internal.InMemoryTimeLimiterRegistry
Returns a managed TimeLimiter or creates a new one with the default TimeLimiter configuration.
timeLimiter(String) - Method in interface io.github.resilience4j.timelimiter.TimeLimiterRegistry
Returns a managed TimeLimiter or creates a new one with the default TimeLimiter configuration.
timeLimiter(String, TimeLimiterConfig) - Method in class io.github.resilience4j.timelimiter.internal.InMemoryTimeLimiterRegistry
Returns a managed TimeLimiter or creates a new one with a custom TimeLimiter configuration.
timeLimiter(String, TimeLimiterConfig) - Method in interface io.github.resilience4j.timelimiter.TimeLimiterRegistry
Returns a managed TimeLimiter or creates a new one with a custom TimeLimiter configuration.
timeLimiter(String, TimeLimiterConfig, Map<String, String>) - Method in class io.github.resilience4j.timelimiter.internal.InMemoryTimeLimiterRegistry
 
timeLimiter(String, TimeLimiterConfig, Map<String, String>) - Method in interface io.github.resilience4j.timelimiter.TimeLimiterRegistry
Returns a managed TimeLimiter or creates a new one with a custom TimeLimiter configuration.
timeLimiter(String, String) - Method in class io.github.resilience4j.timelimiter.internal.InMemoryTimeLimiterRegistry
Returns a managed TimeLimiter or creates a new one.
timeLimiter(String, String) - Method in interface io.github.resilience4j.timelimiter.TimeLimiterRegistry
Returns a managed TimeLimiter or creates a new one.
timeLimiter(String, String, Map<String, String>) - Method in class io.github.resilience4j.timelimiter.internal.InMemoryTimeLimiterRegistry
 
timeLimiter(String, String, Map<String, String>) - Method in interface io.github.resilience4j.timelimiter.TimeLimiterRegistry
Returns a managed TimeLimiter or creates a new one.
timeLimiter(String, Supplier<TimeLimiterConfig>) - Method in class io.github.resilience4j.timelimiter.internal.InMemoryTimeLimiterRegistry
Returns a managed TimeLimiterConfig or creates a new one with a custom TimeLimiterConfig configuration.
timeLimiter(String, Supplier<TimeLimiterConfig>) - Method in interface io.github.resilience4j.timelimiter.TimeLimiterRegistry
Returns a managed TimeLimiterConfig or creates a new one with a custom TimeLimiterConfig configuration.
timeLimiter(String, Supplier<TimeLimiterConfig>, Map<String, String>) - Method in class io.github.resilience4j.timelimiter.internal.InMemoryTimeLimiterRegistry
 
timeLimiter(String, Supplier<TimeLimiterConfig>, Map<String, String>) - Method in interface io.github.resilience4j.timelimiter.TimeLimiterRegistry
Returns a managed TimeLimiter or creates a new one with a custom TimeLimiter configuration.
timeLimiter(String, Map<String, String>) - Method in class io.github.resilience4j.timelimiter.internal.InMemoryTimeLimiterRegistry
 
timeLimiter(String, Map<String, String>) - Method in interface io.github.resilience4j.timelimiter.TimeLimiterRegistry
Returns a managed TimeLimiter or 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 - Class in io.github.resilience4j.timelimiter
 
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<String, String>) - Constructor for class io.github.resilience4j.timelimiter.internal.TimeLimiterImpl
 
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 - Enum constant in enum class io.github.resilience4j.timelimiter.event.TimeLimiterEvent.Type
 
TIMEOUT - Static variable in class io.github.resilience4j.timelimiter.utils.MetricNames
 
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
 

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.
A B C D E F G I M O P S T V 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form