Index
A B C D E F G H I M N O P R S T V
All Classes|All Packages
All Classes|All Packages
All Classes|All Packages
A
- 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, 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, 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
- AbstractRegistry(C, List<RegistryEventConsumer<E>>, Map<String, String>, RegistryStore<E>) - 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
- ADDED - io.github.resilience4j.core.registry.RegistryEvent.Type
-
An Event which informs that an entry has been added
- 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(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>) - 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>, 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(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>, 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>) - 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>, 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.
B
- build() - Method in class io.github.resilience4j.core.ContextAwareScheduledThreadPoolExecutor.Builder
- Builder() - Constructor for class io.github.resilience4j.core.ContextAwareScheduledThreadPoolExecutor.Builder
C
- CallableUtils - Class in io.github.resilience4j.core
- CheckFunctionUtils - Class in io.github.resilience4j.core
- ClassUtils - Class in io.github.resilience4j.core
- clear() - Method in interface io.github.resilience4j.core.ContextPropagator
-
CleanUp value before thread execution finish.
- clear() - Method in class io.github.resilience4j.core.ContextPropagator.EmptyContextPropagator
- CompletionStageUtils - Class in io.github.resilience4j.core
- CompositeRegistryEventConsumer<E> - Class in io.github.resilience4j.core.registry
- CompositeRegistryEventConsumer(List<RegistryEventConsumer<E>>) - Constructor for class io.github.resilience4j.core.registry.CompositeRegistryEventConsumer
- computeIfAbsent(String, Function<? super String, ? extends E>) - Method in class io.github.resilience4j.core.registry.InMemoryRegistryStore
- computeIfAbsent(String, Function<? super String, ? extends E>) - Method in interface io.github.resilience4j.core.RegistryStore
- computeIfAbsent(String, Supplier<E>) - Method in class io.github.resilience4j.core.registry.AbstractRegistry
- CONFIG_MUST_NOT_BE_NULL - Static variable in class io.github.resilience4j.core.registry.AbstractRegistry
- ConfigurationNotFoundException - Exception in io.github.resilience4j.core
-
configuration not found exception
- ConfigurationNotFoundException(String) - Constructor for exception io.github.resilience4j.core.ConfigurationNotFoundException
- configurations - Variable in class io.github.resilience4j.core.registry.AbstractRegistry
- consumeEvent(T) - Method in interface io.github.resilience4j.core.EventConsumer
- CONSUMER_MUST_NOT_BE_NULL - Static variable in class io.github.resilience4j.core.registry.AbstractRegistry
- ContextAwareScheduledThreadPoolExecutor - Class in io.github.resilience4j.core
- ContextAwareScheduledThreadPoolExecutor.Builder - Class in io.github.resilience4j.core
- ContextPropagator<T> - Interface in io.github.resilience4j.core
-
Abstraction to retrieve, copy and clean up values across thread boundary.
- ContextPropagator.EmptyContextPropagator<T> - Class in io.github.resilience4j.core
-
A convenient implementation of empty
ContextPropagator
- contextPropagators(ContextPropagator...) - Method in class io.github.resilience4j.core.ContextAwareScheduledThreadPoolExecutor.Builder
- copy() - Method in interface io.github.resilience4j.core.ContextPropagator
-
Copies value from the parent thread into new executing thread.
- copy() - Method in class io.github.resilience4j.core.ContextPropagator.EmptyContextPropagator
- corePoolSize(int) - Method in class io.github.resilience4j.core.ContextAwareScheduledThreadPoolExecutor.Builder
- createExceptionsPredicate(Class<? extends Throwable>...) - Static method in class io.github.resilience4j.core.predicate.PredicateCreator
- createNegatedExceptionsPredicate(Class<? extends Throwable>...) - Static method in class io.github.resilience4j.core.predicate.PredicateCreator
D
- decorateCallable(ContextPropagator, Callable<T>) - Static method in interface io.github.resilience4j.core.ContextPropagator
-
Method decorates callable to copy variables across thread boundary.
- decorateCallable(List<? extends ContextPropagator>, Callable<T>) - Static method in interface io.github.resilience4j.core.ContextPropagator
-
Method decorates callable to copy variables across thread boundary.
- decorateRunnable(ContextPropagator, Runnable) - Static method in interface io.github.resilience4j.core.ContextPropagator
-
Method decorates runnable to copy variables across thread boundary.
- decorateRunnable(List<? extends ContextPropagator>, Runnable) - Static method in interface io.github.resilience4j.core.ContextPropagator
-
Method decorates runnable to copy variables across thread boundary.
- decorateSupplier(ContextPropagator, Supplier<T>) - Static method in interface io.github.resilience4j.core.ContextPropagator
-
Method decorates supplier to copy variables across thread boundary.
- decorateSupplier(List<? extends ContextPropagator>, Supplier<T>) - Static method in interface io.github.resilience4j.core.ContextPropagator
-
Method decorates supplier to copy variables across thread boundary.
- DEFAULT_CONFIG - Static variable in class io.github.resilience4j.core.registry.AbstractRegistry
- DEFAULT_INITIAL_INTERVAL - Static variable in interface io.github.resilience4j.core.IntervalFunction
- DEFAULT_MULTIPLIER - Static variable in interface io.github.resilience4j.core.IntervalFunction
- DEFAULT_RANDOMIZATION_FACTOR - Static variable in interface io.github.resilience4j.core.IntervalFunction
E
- empty() - Static method in interface io.github.resilience4j.core.ContextPropagator
-
An empty context propagator.
- EmptyContextPropagator() - Constructor for class io.github.resilience4j.core.ContextPropagator.EmptyContextPropagator
- EntryAddedEvent<E> - Class in io.github.resilience4j.core.registry
- entryMap - Variable in class io.github.resilience4j.core.registry.AbstractRegistry
- EntryRemovedEvent<E> - Class in io.github.resilience4j.core.registry
- EntryReplacedEvent<E> - Class in io.github.resilience4j.core.registry
- ERROR - io.github.resilience4j.core.metrics.Metrics.Outcome
- EventConsumer<T> - Interface in io.github.resilience4j.core
- EventProcessor<T> - Class in io.github.resilience4j.core
- EventProcessor() - Constructor for class io.github.resilience4j.core.EventProcessor
- EventPublisher<T> - Interface in io.github.resilience4j.core
F
- find(String) - Method in class io.github.resilience4j.core.registry.AbstractRegistry
- find(String) - Method in interface io.github.resilience4j.core.Registry
-
Find a named entry in the Registry
- find(String) - Method in class io.github.resilience4j.core.registry.InMemoryRegistryStore
- find(String) - Method in interface io.github.resilience4j.core.RegistryStore
- FixedSizeSlidingWindowMetrics - Class in io.github.resilience4j.core.metrics
-
A
Metrics
implementation is backed by a sliding window that aggregates only the lastN
calls. - FixedSizeSlidingWindowMetrics(int) - Constructor for class io.github.resilience4j.core.metrics.FixedSizeSlidingWindowMetrics
-
Creates a new
FixedSizeSlidingWindowMetrics
with the given window size.
G
- 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
- getContextPropagators() - Method in class io.github.resilience4j.core.ContextAwareScheduledThreadPoolExecutor
- 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
H
- hasConsumers() - Method in class io.github.resilience4j.core.EventProcessor
I
- InMemoryRegistryStore<E> - Class in io.github.resilience4j.core.registry
-
Default Implementation Of RegistryStore using ConcurrentHashMap
- InMemoryRegistryStore() - Constructor for class io.github.resilience4j.core.registry.InMemoryRegistryStore
- instantiateClassDefConstructor(Class<T>) - Static method in class io.github.resilience4j.core.ClassUtils
- instantiateIntervalBiFunctionClass(Class<? extends IntervalBiFunction<T>>) - Static method in class io.github.resilience4j.core.ClassUtils
- instantiatePredicateClass(Class<? extends Predicate<T>>) - Static method in class io.github.resilience4j.core.ClassUtils
- InstantiationException - Exception in io.github.resilience4j.core
- InstantiationException(String) - Constructor for exception io.github.resilience4j.core.InstantiationException
- InstantiationException(String, Throwable) - Constructor for exception io.github.resilience4j.core.InstantiationException
- IntervalBiFunction<T> - Interface in io.github.resilience4j.core
-
An IntervalBiFunction which can be used to calculate the wait interval.
- IntervalFunction - Interface in io.github.resilience4j.core
-
An IntervalFunction which can be used to calculate the wait interval.
- io.github.resilience4j.core - package io.github.resilience4j.core
- io.github.resilience4j.core.exception - package io.github.resilience4j.core.exception
- io.github.resilience4j.core.functions - package io.github.resilience4j.core.functions
- io.github.resilience4j.core.lang - package io.github.resilience4j.core.lang
- io.github.resilience4j.core.metrics - package io.github.resilience4j.core.metrics
- io.github.resilience4j.core.predicate - package io.github.resilience4j.core.predicate
- io.github.resilience4j.core.registry - package io.github.resilience4j.core.registry
- isFailedAndThrown(Either<? extends Throwable, ?>, Class<T>) - Static method in class io.github.resilience4j.core.ResultUtils
- isFailedAndThrown(Either<? extends Throwable, ?>, Class<T>, Function<T, Boolean>) - Static method in class io.github.resilience4j.core.ResultUtils
- isNotEmpty(String) - Static method in class io.github.resilience4j.core.StringUtils
- isSuccessfulAndReturned(Either<? extends Throwable, ?>, Class<T>, Function<T, Boolean>) - Static method in class io.github.resilience4j.core.ResultUtils
M
- Metrics - Interface in io.github.resilience4j.core.metrics
- Metrics.Outcome - Enum in io.github.resilience4j.core.metrics
- MetricsPublisher<E> - Interface in io.github.resilience4j.core.metrics
N
- NamingThreadFactory - Class in io.github.resilience4j.core
-
Creates threads using "$name-%d" pattern for naming.
- NamingThreadFactory(String) - Constructor for class io.github.resilience4j.core.NamingThreadFactory
- newScheduledThreadPool() - Static method in class io.github.resilience4j.core.ContextAwareScheduledThreadPoolExecutor
- newThread(Runnable) - Method in class io.github.resilience4j.core.NamingThreadFactory
- NonNull - Annotation Type in io.github.resilience4j.core.lang
-
A common Spring annotation to declare that annotated elements cannot be
null
. - NonNullApi - Annotation Type in io.github.resilience4j.core.lang
-
A common Spring annotation to declare that parameters and return values are to be considered as non-nullable by default for a given package.
- NonNullFields - Annotation Type in io.github.resilience4j.core.lang
-
A common Spring annotation to declare that fields are to be considered as non-nullable by default for a given package.
- Nullable - Annotation Type in io.github.resilience4j.core.lang
-
A common Spring annotation to declare that annotated elements can be
null
under some circumstance.
O
- of(long) - Static method in interface io.github.resilience4j.core.IntervalFunction
-
Creates an IntervalFunction which returns a fixed interval in milliseconds.
- of(long, Function<Long, Long>) - Static method in interface io.github.resilience4j.core.IntervalFunction
- of(Duration) - Static method in interface io.github.resilience4j.core.IntervalFunction
-
Creates an IntervalFunction which returns a fixed interval specified by a given
Duration
. - of(Duration, Function<Long, Long>) - Static method in interface io.github.resilience4j.core.IntervalFunction
- of(T) - Static method in class io.github.resilience4j.core.functions.OnceConsumer
-
Create a do once consumer.
- ofDefaults() - Static method in interface io.github.resilience4j.core.IntervalFunction
-
Creates an IntervalFunction which returns a fixed default interval of 500 [ms].
- ofExponentialBackoff() - Static method in interface io.github.resilience4j.core.IntervalFunction
- ofExponentialBackoff(long) - Static method in interface io.github.resilience4j.core.IntervalFunction
- ofExponentialBackoff(long, double) - Static method in interface io.github.resilience4j.core.IntervalFunction
- ofExponentialBackoff(long, double, long) - Static method in interface io.github.resilience4j.core.IntervalFunction
- ofExponentialBackoff(Duration) - Static method in interface io.github.resilience4j.core.IntervalFunction
- ofExponentialBackoff(Duration, double) - Static method in interface io.github.resilience4j.core.IntervalFunction
- ofExponentialBackoff(Duration, double, Duration) - Static method in interface io.github.resilience4j.core.IntervalFunction
- ofExponentialRandomBackoff() - Static method in interface io.github.resilience4j.core.IntervalFunction
- ofExponentialRandomBackoff(long) - Static method in interface io.github.resilience4j.core.IntervalFunction
- ofExponentialRandomBackoff(long, double) - Static method in interface io.github.resilience4j.core.IntervalFunction
- ofExponentialRandomBackoff(long, double, double) - Static method in interface io.github.resilience4j.core.IntervalFunction
- ofExponentialRandomBackoff(long, double, double, long) - Static method in interface io.github.resilience4j.core.IntervalFunction
- ofExponentialRandomBackoff(long, double, long) - Static method in interface io.github.resilience4j.core.IntervalFunction
- ofExponentialRandomBackoff(Duration) - Static method in interface io.github.resilience4j.core.IntervalFunction
- ofExponentialRandomBackoff(Duration, double) - Static method in interface io.github.resilience4j.core.IntervalFunction
- ofExponentialRandomBackoff(Duration, double, double) - Static method in interface io.github.resilience4j.core.IntervalFunction
- ofExponentialRandomBackoff(Duration, double, double, Duration) - Static method in interface io.github.resilience4j.core.IntervalFunction
- ofExponentialRandomBackoff(Duration, double, Duration) - Static method in interface io.github.resilience4j.core.IntervalFunction
- ofIntervalFunction(IntervalFunction) - Static method in interface io.github.resilience4j.core.IntervalBiFunction
- ofRandomized() - Static method in interface io.github.resilience4j.core.IntervalFunction
- ofRandomized(long) - Static method in interface io.github.resilience4j.core.IntervalFunction
- ofRandomized(long, double) - Static method in interface io.github.resilience4j.core.IntervalFunction
- ofRandomized(Duration) - Static method in interface io.github.resilience4j.core.IntervalFunction
- ofRandomized(Duration, double) - Static method in interface io.github.resilience4j.core.IntervalFunction
- OnceConsumer<T> - Class in io.github.resilience4j.core.functions
-
Apply a computation only once.
- onEntryAdded(EventConsumer<EntryAddedEvent<E>>) - Method in interface io.github.resilience4j.core.Registry.EventPublisher
- onEntryAddedEvent(EntryAddedEvent<E>) - Method in interface io.github.resilience4j.core.metrics.MetricsPublisher
- onEntryAddedEvent(EntryAddedEvent<E>) - Method in class io.github.resilience4j.core.registry.CompositeRegistryEventConsumer
- onEntryAddedEvent(EntryAddedEvent<E>) - Method in interface io.github.resilience4j.core.registry.RegistryEventConsumer
- onEntryRemoved(EventConsumer<EntryRemovedEvent<E>>) - Method in interface io.github.resilience4j.core.Registry.EventPublisher
- onEntryRemovedEvent(EntryRemovedEvent<E>) - Method in interface io.github.resilience4j.core.metrics.MetricsPublisher
- onEntryRemovedEvent(EntryRemovedEvent<E>) - Method in class io.github.resilience4j.core.registry.CompositeRegistryEventConsumer
- onEntryRemovedEvent(EntryRemovedEvent<E>) - Method in interface io.github.resilience4j.core.registry.RegistryEventConsumer
- onEntryReplaced(EventConsumer<EntryReplacedEvent<E>>) - Method in interface io.github.resilience4j.core.Registry.EventPublisher
- onEntryReplacedEvent(EntryReplacedEvent<E>) - Method in interface io.github.resilience4j.core.metrics.MetricsPublisher
- onEntryReplacedEvent(EntryReplacedEvent<E>) - Method in class io.github.resilience4j.core.registry.CompositeRegistryEventConsumer
- onEntryReplacedEvent(EntryReplacedEvent<E>) - Method in interface io.github.resilience4j.core.registry.RegistryEventConsumer
- onEvent(EventConsumer<T>) - Method in class io.github.resilience4j.core.EventProcessor
- onEvent(EventConsumer<T>) - Method in interface io.github.resilience4j.core.EventPublisher
P
- PartialAggregation - Class in io.github.resilience4j.core.metrics
- PredicateCreator - Class in io.github.resilience4j.core.predicate
- processEvent(E) - Method in class io.github.resilience4j.core.EventProcessor
- publishMetrics(E) - Method in interface io.github.resilience4j.core.metrics.MetricsPublisher
- putIfAbsent(String, E) - Method in class io.github.resilience4j.core.registry.InMemoryRegistryStore
- putIfAbsent(String, E) - Method in interface io.github.resilience4j.core.RegistryStore
R
- 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(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>, 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(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(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(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(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(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>, 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(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(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>>, 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>>, 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>>, 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(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.
- 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>, 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>, 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.
- 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
- RegistryStore<E> - Interface in io.github.resilience4j.core
- 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 class io.github.resilience4j.core.registry.InMemoryRegistryStore
- remove(String) - Method in interface io.github.resilience4j.core.Registry
-
Remove an entry from the Registry
- remove(String) - Method in interface io.github.resilience4j.core.RegistryStore
- REMOVED - io.github.resilience4j.core.registry.RegistryEvent.Type
-
An Event which informs that an entry has been removed
- 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 class io.github.resilience4j.core.registry.InMemoryRegistryStore
- replace(String, E) - Method in interface io.github.resilience4j.core.Registry
-
Replace an existing entry in the Registry by a new one.
- replace(String, E) - Method in interface io.github.resilience4j.core.RegistryStore
- REPLACED - io.github.resilience4j.core.registry.RegistryEvent.Type
-
An Event which informs that an entry has been replaced
- ResultUtils - Class in io.github.resilience4j.core
- ResultUtils() - Constructor for class io.github.resilience4j.core.ResultUtils
- retrieve() - Method in class io.github.resilience4j.core.ContextPropagator.EmptyContextPropagator
- retrieve() - Method in interface io.github.resilience4j.core.ContextPropagator
-
Retrieves value from the currently executing thread.
S
- schedule(Runnable, long, TimeUnit) - Method in class io.github.resilience4j.core.ContextAwareScheduledThreadPoolExecutor
- schedule(Callable<V>, long, TimeUnit) - Method in class io.github.resilience4j.core.ContextAwareScheduledThreadPoolExecutor
- scheduleAtFixedRate(Runnable, long, long, TimeUnit) - Method in class io.github.resilience4j.core.ContextAwareScheduledThreadPoolExecutor
- scheduleWithFixedDelay(Runnable, long, long, TimeUnit) - Method in class io.github.resilience4j.core.ContextAwareScheduledThreadPoolExecutor
- SlidingTimeWindowMetrics - Class in io.github.resilience4j.core.metrics
-
A
Metrics
implementation is backed by a sliding time window that aggregates only the calls made in the lastN
seconds. - SlidingTimeWindowMetrics(int, Clock) - Constructor for class io.github.resilience4j.core.metrics.SlidingTimeWindowMetrics
-
Creates a new
SlidingTimeWindowMetrics
with the given clock and window of time. - SLOW_ERROR - io.github.resilience4j.core.metrics.Metrics.Outcome
- SLOW_SUCCESS - io.github.resilience4j.core.metrics.Metrics.Outcome
- Snapshot - Interface in io.github.resilience4j.core.metrics
- SnapshotImpl - Class in io.github.resilience4j.core.metrics
- start() - Static method in class io.github.resilience4j.core.StopWatch
- stop() - Method in class io.github.resilience4j.core.StopWatch
- StopWatch - Class in io.github.resilience4j.core
-
A simple
StopWatch
to measure the processing duration of a call. - StringUtils - Class in io.github.resilience4j.core
- StringUtils() - Constructor for class io.github.resilience4j.core.StringUtils
- SUCCESS - io.github.resilience4j.core.metrics.Metrics.Outcome
- SUPPLIER_MUST_NOT_BE_NULL - Static variable in class io.github.resilience4j.core.registry.AbstractRegistry
- SupplierUtils - Class in io.github.resilience4j.core
T
- TAGS_MUST_NOT_BE_NULL - Static variable in class io.github.resilience4j.core.registry.AbstractRegistry
V
- valueOf(String) - Static method in enum io.github.resilience4j.core.metrics.Metrics.Outcome
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.github.resilience4j.core.registry.RegistryEvent.Type
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum io.github.resilience4j.core.metrics.Metrics.Outcome
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Method in class io.github.resilience4j.core.registry.InMemoryRegistryStore
- values() - Static method in enum io.github.resilience4j.core.registry.RegistryEvent.Type
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Method in interface io.github.resilience4j.core.RegistryStore
All Classes|All Packages