- AbstractRegistry<E,C> - Class in io.github.resilience4j.core.registry
-
Abstract registry to be shared with all resilience4j registries
- AbstractRegistry(C) - Constructor for class io.github.resilience4j.core.registry.AbstractRegistry
-
- AbstractRegistry(C, Map<String, String>) - Constructor for class io.github.resilience4j.core.registry.AbstractRegistry
-
- AbstractRegistry(C, RegistryEventConsumer<E>) - Constructor for class io.github.resilience4j.core.registry.AbstractRegistry
-
- AbstractRegistry(C, RegistryEventConsumer<E>, Map<String, String>) - Constructor for class io.github.resilience4j.core.registry.AbstractRegistry
-
- AbstractRegistry(C, List<RegistryEventConsumer<E>>) - Constructor for class io.github.resilience4j.core.registry.AbstractRegistry
-
- AbstractRegistry(C, List<RegistryEventConsumer<E>>, Map<String, String>) - Constructor for class io.github.resilience4j.core.registry.AbstractRegistry
-
- AcquirePermissionCancelledException - Exception in io.github.resilience4j.core.exception
-
Exception indicating that the permission wasn't acquired because the task was cancelled or thread
interrupted.
- AcquirePermissionCancelledException() - Constructor for exception io.github.resilience4j.core.exception.AcquirePermissionCancelledException
-
- AcquirePermissionCancelledException(String) - Constructor for exception io.github.resilience4j.core.exception.AcquirePermissionCancelledException
-
Constructs a AcquirePermissionCancelledException with detail message.
- addConfiguration(String, C) - Method in class io.github.resilience4j.core.registry.AbstractRegistry
-
- addConfiguration(String, C) - Method in interface io.github.resilience4j.core.Registry
-
Adds a configuration to the registry
- andThen(Callable<T>, Function<T, R>) - Static method in class io.github.resilience4j.core.CallableUtils
-
Returns a composed function that first applies the Callable and then applies the
resultHandler.
- andThen(Callable<T>, BiFunction<T, Throwable, R>) - Static method in class io.github.resilience4j.core.CallableUtils
-
Returns a composed function that first applies the Callable and then applies BiFunction after to the result.
- andThen(Callable<T>, Function<T, R>, Function<Throwable, R>) - Static method in class io.github.resilience4j.core.CallableUtils
-
Returns a composed function that first applies the Callable and then applies either the
resultHandler or exceptionHandler.
- andThen(CheckedFunction0<T>, CheckedFunction2<T, Throwable, R>) - Static method in class io.github.resilience4j.core.CheckFunctionUtils
-
Returns a composed function that first applies the function and then applies BiFunction after to the result.
- andThen(Supplier<CompletionStage<T>>, BiFunction<T, Throwable, R>) - Static method in class io.github.resilience4j.core.CompletionStageUtils
-
Returns a composed CompletionStage that first applies the CompletionStage and then applies BiFunction after to the result.
- andThen(Supplier<T>, Function<T, R>) - Static method in class io.github.resilience4j.core.SupplierUtils
-
Returns a composed Supplier that first applies the Supplier and then applies the
resultHandler.
- andThen(Supplier<T>, BiFunction<T, Throwable, R>) - Static method in class io.github.resilience4j.core.SupplierUtils
-
Returns a composed Supplier that first applies the Supplier and then applies BiFunction after to the result.
- andThen(Supplier<T>, Function<T, R>, Function<Throwable, R>) - Static method in class io.github.resilience4j.core.SupplierUtils
-
Returns a composed function that first applies the Supplier and then applies either the
resultHandler or exceptionHandler.
- applyOnce(Consumer<T>) - Method in class io.github.resilience4j.core.functions.OnceConsumer
-
Apply a computation on subject only once.
- getAddedEntry() - Method in class io.github.resilience4j.core.registry.EntryAddedEvent
-
- getAllTags(Map<String, String>) - Method in class io.github.resilience4j.core.registry.AbstractRegistry
-
Creates map with all tags (registry and instance).
- getAverageDuration() - Method in interface io.github.resilience4j.core.metrics.Snapshot
-
Returns the current average duration of all calls.
- getAverageDuration() - Method in class io.github.resilience4j.core.metrics.SnapshotImpl
-
- getConfiguration(String) - Method in class io.github.resilience4j.core.registry.AbstractRegistry
-
- getConfiguration(String) - Method in interface io.github.resilience4j.core.Registry
-
Get a configuration by name
- getCreationTime() - Method in interface io.github.resilience4j.core.registry.RegistryEvent
-
Returns the creation time of Registry event.
- getDefaultConfig() - Method in class io.github.resilience4j.core.registry.AbstractRegistry
-
- getDefaultConfig() - Method in interface io.github.resilience4j.core.Registry
-
Get the default configuration
- getEpochSecond() - Method in class io.github.resilience4j.core.metrics.PartialAggregation
-
- getEventPublisher() - Method in class io.github.resilience4j.core.registry.AbstractRegistry
-
- getEventPublisher() - Method in interface io.github.resilience4j.core.Registry
-
Returns an EventPublisher which can be used to register event consumers.
- getEventType() - Method in class io.github.resilience4j.core.registry.EntryAddedEvent
-
- getEventType() - Method in class io.github.resilience4j.core.registry.EntryRemovedEvent
-
- getEventType() - Method in class io.github.resilience4j.core.registry.EntryReplacedEvent
-
- getEventType() - Method in interface io.github.resilience4j.core.registry.RegistryEvent
-
Returns the type of the Registry event.
- getFailureRate() - Method in interface io.github.resilience4j.core.metrics.Snapshot
-
Returns the current failure rate in percentage.
- getFailureRate() - Method in class io.github.resilience4j.core.metrics.SnapshotImpl
-
- getNewEntry() - Method in class io.github.resilience4j.core.registry.EntryReplacedEvent
-
Returns the new entry.
- getNumberOfFailedCalls() - Method in interface io.github.resilience4j.core.metrics.Snapshot
-
Returns the current number of failed calls.
- getNumberOfFailedCalls() - Method in class io.github.resilience4j.core.metrics.SnapshotImpl
-
- getNumberOfSlowFailedCalls() - Method in interface io.github.resilience4j.core.metrics.Snapshot
-
Returns the current number of failed calls which were slower than a certain threshold.
- getNumberOfSlowFailedCalls() - Method in class io.github.resilience4j.core.metrics.SnapshotImpl
-
- getNumberOfSlowSuccessfulCalls() - Method in interface io.github.resilience4j.core.metrics.Snapshot
-
Returns the current number of successful calls which were slower than a certain threshold.
- getNumberOfSlowSuccessfulCalls() - Method in class io.github.resilience4j.core.metrics.SnapshotImpl
-
- getNumberOfSuccessfulCalls() - Method in interface io.github.resilience4j.core.metrics.Snapshot
-
Returns the current number of successful calls.
- getNumberOfSuccessfulCalls() - Method in class io.github.resilience4j.core.metrics.SnapshotImpl
-
- getOldEntry() - Method in class io.github.resilience4j.core.registry.EntryReplacedEvent
-
Returns the old entry.
- getRemovedEntry() - Method in class io.github.resilience4j.core.registry.EntryRemovedEvent
-
Returns the removed entry.
- getSlowCallRate() - Method in interface io.github.resilience4j.core.metrics.Snapshot
-
Returns the current percentage of calls which were slower than a certain threshold.
- getSlowCallRate() - Method in class io.github.resilience4j.core.metrics.SnapshotImpl
-
- getSnapshot() - Method in class io.github.resilience4j.core.metrics.FixedSizeSlidingWindowMetrics
-
- getSnapshot() - Method in interface io.github.resilience4j.core.metrics.Metrics
-
Returns a snapshot.
- getSnapshot() - Method in class io.github.resilience4j.core.metrics.SlidingTimeWindowMetrics
-
- getTags() - Method in class io.github.resilience4j.core.registry.AbstractRegistry
-
- getTags() - Method in interface io.github.resilience4j.core.Registry
-
- getTotalDuration() - Method in interface io.github.resilience4j.core.metrics.Snapshot
-
Returns the current total duration of all calls.
- getTotalDuration() - Method in class io.github.resilience4j.core.metrics.SnapshotImpl
-
- getTotalNumberOfCalls() - Method in interface io.github.resilience4j.core.metrics.Snapshot
-
Returns the current total number of all calls.
- getTotalNumberOfCalls() - Method in class io.github.resilience4j.core.metrics.SnapshotImpl
-
- getTotalNumberOfSlowCalls() - Method in interface io.github.resilience4j.core.metrics.Snapshot
-
Returns the current number of calls which were slower than a certain threshold.
- getTotalNumberOfSlowCalls() - Method in class io.github.resilience4j.core.metrics.SnapshotImpl
-
- record(long, TimeUnit, Metrics.Outcome) - Method in class io.github.resilience4j.core.metrics.FixedSizeSlidingWindowMetrics
-
- record(long, TimeUnit, Metrics.Outcome) - Method in interface io.github.resilience4j.core.metrics.Metrics
-
Records a call.
- record(long, TimeUnit, Metrics.Outcome) - Method in class io.github.resilience4j.core.metrics.SlidingTimeWindowMetrics
-
- recover(Callable<T>, Function<Throwable, T>) - Static method in class io.github.resilience4j.core.CallableUtils
-
Returns a composed function that first executes the Callable and optionally recovers from an
exception.
- recover(Callable<T>, Predicate<T>, UnaryOperator<T>) - Static method in class io.github.resilience4j.core.CallableUtils
-
Returns a composed Callable that first executes the Callable and optionally recovers from a specific result.
- recover(Callable<T>, List<Class<? extends Throwable>>, Function<Throwable, T>) - Static method in class io.github.resilience4j.core.CallableUtils
-
Returns a composed function that first executes the Callable and optionally recovers from an
exception.
- recover(Callable<T>, Class<X>, Function<Throwable, T>) - Static method in class io.github.resilience4j.core.CallableUtils
-
Returns a composed function that first executes the Callable and optionally recovers from an
exception.
- recover(CheckedFunction0<T>, CheckedFunction1<Throwable, T>) - Static method in class io.github.resilience4j.core.CheckFunctionUtils
-
Returns a composed function that first executes the function and optionally recovers from an
exception.
- recover(CheckedFunction0<T>, Predicate<T>, CheckedFunction1<T, T>) - Static method in class io.github.resilience4j.core.CheckFunctionUtils
-
Returns a composed function that first executes the function and optionally recovers from a specific result.
- recover(CheckedFunction0<T>, List<Class<? extends Throwable>>, CheckedFunction1<Throwable, T>) - Static method in class io.github.resilience4j.core.CheckFunctionUtils
-
Returns a composed function that first executes the function and optionally recovers from an
exception.
- recover(CheckedFunction0<T>, Class<X>, CheckedFunction1<Throwable, T>) - Static method in class io.github.resilience4j.core.CheckFunctionUtils
-
Returns a composed function that first executes the function and optionally recovers from an
exception.
- recover(CompletionStage<T>, Function<Throwable, T>) - Static method in class io.github.resilience4j.core.CompletionStageUtils
-
Returns a CompletionStage that is recovered from any exception.
- recover(CompletionStage<T>, List<Class<? extends Throwable>>, Function<Throwable, T>) - Static method in class io.github.resilience4j.core.CompletionStageUtils
-
Returns a CompletionStage that is recovered from a specific exception.
- recover(CompletionStage<T>, Class<X>, Function<Throwable, T>) - Static method in class io.github.resilience4j.core.CompletionStageUtils
-
Returns a CompletionStage that is recovered from a specific exception.
- recover(Supplier<CompletionStage<T>>, Function<Throwable, T>) - Static method in class io.github.resilience4j.core.CompletionStageUtils
-
Returns a decorated CompletionStage that is recovered from a specific exception.
- recover(Supplier<CompletionStage<T>>, Class<X>, Function<Throwable, T>) - Static method in class io.github.resilience4j.core.CompletionStageUtils
-
Returns a decorated CompletionStage that is recovered from a specific exception.
- recover(Supplier<CompletionStage<T>>, List<Class<? extends Throwable>>, Function<Throwable, T>) - Static method in class io.github.resilience4j.core.CompletionStageUtils
-
Returns a decorated CompletionStage that is recovered from a specific exception.
- recover(CompletionStage<T>, Predicate<T>, UnaryOperator<T>) - Static method in class io.github.resilience4j.core.CompletionStageUtils
-
Returns a composed CompletionStage that first executes the CompletionStage and optionally recovers from a specific result.
- recover(Supplier<CompletionStage<T>>, Predicate<T>, UnaryOperator<T>) - Static method in class io.github.resilience4j.core.CompletionStageUtils
-
Returns a composed CompletionStage that first executes the CompletionStage and optionally recovers from a specific result.
- recover(Supplier<T>, Predicate<T>, UnaryOperator<T>) - Static method in class io.github.resilience4j.core.SupplierUtils
-
Returns a composed Supplier that first executes the Supplier and optionally recovers from a specific result.
- recover(Supplier<T>, Function<Throwable, T>) - Static method in class io.github.resilience4j.core.SupplierUtils
-
Returns a composed function that first executes the Supplier and optionally recovers from an
exception.
- recover(Supplier<T>, List<Class<? extends Throwable>>, Function<Throwable, T>) - Static method in class io.github.resilience4j.core.SupplierUtils
-
Returns a composed function that first executes the Supplier and optionally recovers from an
exception.
- recover(Supplier<T>, Class<X>, Function<Throwable, T>) - Static method in class io.github.resilience4j.core.SupplierUtils
-
Returns a composed function that first executes the Supplier and optionally recovers from an
exception.
- registerConsumer(String, EventConsumer<? extends T>) - Method in class io.github.resilience4j.core.EventProcessor
-
- Registry<E,C> - Interface in io.github.resilience4j.core
-
root resilience4j registry to be used by resilience types registries for common functionality
- Registry.EventPublisher<E> - Interface in io.github.resilience4j.core
-
An EventPublisher can be used to register event consumers.
- RegistryEvent - Interface in io.github.resilience4j.core.registry
-
- RegistryEvent.Type - Enum in io.github.resilience4j.core.registry
-
Event types which are created by a CircuitBreaker.
- RegistryEventConsumer<E> - Interface in io.github.resilience4j.core.registry
-
Registry Event Consumer to be used by AbstractRegistry.RegistryEventProcessor
- registryTags - Variable in class io.github.resilience4j.core.registry.AbstractRegistry
-
Global tags which must be added to each instance created by this registry.
- remove(String) - Method in class io.github.resilience4j.core.registry.AbstractRegistry
-
- remove(String) - Method in interface io.github.resilience4j.core.Registry
-
Remove an entry from the Registry
- removeMetrics(E) - Method in interface io.github.resilience4j.core.metrics.MetricsPublisher
-
- replace(String, E) - Method in class io.github.resilience4j.core.registry.AbstractRegistry
-
- replace(String, E) - Method in interface io.github.resilience4j.core.Registry
-
Replace an existing entry in the Registry by a new one.