Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
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, 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
- AbstractRegistry(C, Map<String, String>) - Constructor for class io.github.resilience4j.core.registry.AbstractRegistry
- accept(T) - Method in interface io.github.resilience4j.core.functions.CheckedConsumer
- 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
AcquirePermissionCancelledExceptionwith 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 - Enum constant in enum class io.github.resilience4j.core.registry.RegistryEvent.Type
-
An Event which informs that an entry has been added
- andThen(CheckedConsumer<? super T>) - Method in interface io.github.resilience4j.core.functions.CheckedConsumer
- andThen(CheckedFunction<? super T, ? extends V>) - Method in interface io.github.resilience4j.core.functions.CheckedSupplier
- andThen(CheckedSupplier<T>, CheckedBiFunction<T, Throwable, R>) - Static method in class io.github.resilience4j.core.CheckedFunctionUtils
-
Returns a composed supplier that first applies the supplier and then applies BiFunction
afterto 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
afterto 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
afterto 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
afterto 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.
- apply(T) - Method in interface io.github.resilience4j.core.functions.CheckedFunction
- apply(T, U) - Method in interface io.github.resilience4j.core.functions.CheckedBiFunction
- 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
- CheckedBiFunction<T,
U, R> - Interface in io.github.resilience4j.core.functions -
A
BiFunction-like interface which allows throwing Error. - CheckedConsumer<T> - Interface in io.github.resilience4j.core.functions
-
A
Consumer-like interface which allows throwing Error. - CheckedFunction<T,
R> - Interface in io.github.resilience4j.core.functions -
A
Function-like interface which allows throwing Error. - CheckedFunctionUtils - Class in io.github.resilience4j.core
- CheckedRunnable - Interface in io.github.resilience4j.core.functions
-
A
Runnable-like interface which allows throwing Error. - CheckedSupplier<T> - Interface in io.github.resilience4j.core.functions
-
A
Supplier-like interface which allows throwing Error. - 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
- Clock - Interface in io.github.resilience4j.core
-
A clock abstraction used to measure absolute and relative time.
- 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
- CONTEXT_PROPAGATOR_LIST_SHOULD_BE_NON_NULL - Static variable in interface io.github.resilience4j.core.ContextPropagator
- 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
- copy() - Method in class io.github.resilience4j.core.metrics.LockFreeSlidingTimeWindowMetrics.TimeSlice
- 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
- createExceptionsPredicate(Predicate<Throwable>, 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
- CumulativeMeasurement - Interface in io.github.resilience4j.core.metrics
-
Interface for measurement implementations that accumulate calls durations and outcomes.
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
- Either<L,
R> - Interface in io.github.resilience4j.core.functions - Either.Left<L,
R> - Class in io.github.resilience4j.core.functions -
The
Leftversion of anEither. - Either.Right<L,
R> - Class in io.github.resilience4j.core.functions -
The
Rightversion of anEither. - 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
- equals(Object) - Method in class io.github.resilience4j.core.metrics.SnapshotImpl
- ERROR - Enum constant in enum class 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
Metricsimplementation is backed by a sliding window that aggregates only the lastNcalls. - FixedSizeSlidingWindowMetrics(int) - Constructor for class io.github.resilience4j.core.metrics.FixedSizeSlidingWindowMetrics
-
Creates a new
FixedSizeSlidingWindowMetricswith the given window size. - fold(Function<? super L, ? extends U>, Function<? super R, ? extends U>) - Method in interface io.github.resilience4j.core.functions.Either
-
Folds either the left or the right side of this disjunction.
G
- get() - Method in interface io.github.resilience4j.core.functions.CheckedSupplier
- get() - Method in interface io.github.resilience4j.core.functions.Either
-
Gets the right value if this is a
Rightor throws if this is aLeft. - get() - Method in class io.github.resilience4j.core.functions.Either.Left
- get() - Method in class io.github.resilience4j.core.functions.Either.Right
- 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 class io.github.resilience4j.core.registry.EntryAddedEvent
- 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
- getLeft() - Method in interface io.github.resilience4j.core.functions.Either
-
Returns the left value.
- getLeft() - Method in class io.github.resilience4j.core.functions.Either.Left
- getLeft() - Method in class io.github.resilience4j.core.functions.Either.Right
- getNewEntry() - Method in class io.github.resilience4j.core.registry.EntryReplacedEvent
-
Returns the new entry.
- getNumberOfCalls() - Method in class io.github.resilience4j.core.metrics.PartialAggregation
- getNumberOfCalls() - Method in interface io.github.resilience4j.core.metrics.MeasurementData
-
Returns the total number of all calls in this measurement.
- getNumberOfCalls() - Method in class io.github.resilience4j.core.metrics.PackedAggregation
- getNumberOfFailedCalls() - Method in class io.github.resilience4j.core.metrics.PartialAggregation
- getNumberOfFailedCalls() - Method in interface io.github.resilience4j.core.metrics.MeasurementData
-
Returns the number of failed calls in this measurement.
- getNumberOfFailedCalls() - Method in class io.github.resilience4j.core.metrics.PackedAggregation
- 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
- getNumberOfSlowCalls() - Method in class io.github.resilience4j.core.metrics.PartialAggregation
- getNumberOfSlowCalls() - Method in interface io.github.resilience4j.core.metrics.MeasurementData
-
Returns the number of calls in this measurement which were slower than a certain threshold.
- getNumberOfSlowCalls() - Method in class io.github.resilience4j.core.metrics.PackedAggregation
- getNumberOfSlowFailedCalls() - Method in class io.github.resilience4j.core.metrics.PartialAggregation
- getNumberOfSlowFailedCalls() - Method in interface io.github.resilience4j.core.metrics.MeasurementData
-
Returns the number of failed calls in this measurement which were slower than a certain threshold.
- getNumberOfSlowFailedCalls() - Method in class io.github.resilience4j.core.metrics.PackedAggregation
- 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.
- getOrNull() - Method in interface io.github.resilience4j.core.functions.Either
- 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 class io.github.resilience4j.core.metrics.LockFreeFixedSizeSlidingWindowMetrics
- getSnapshot() - Method in class io.github.resilience4j.core.metrics.LockFreeSlidingTimeWindowMetrics
- 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
- getTotalDurationInMillis() - Method in class io.github.resilience4j.core.metrics.PartialAggregation
- getTotalDurationInMillis() - Method in interface io.github.resilience4j.core.metrics.MeasurementData
-
Returns the total duration of all calls in this measurement.
- getTotalDurationInMillis() - Method in class io.github.resilience4j.core.metrics.PackedAggregation
- 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
- hashCode() - Method in class io.github.resilience4j.core.metrics.SnapshotImpl
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
- instantiateBiConsumer(Class<? extends BiConsumer<Integer, T>>) - Static method in class io.github.resilience4j.core.ClassUtils
- instantiateClassDefConstructor(Class<T>) - Static method in class io.github.resilience4j.core.ClassUtils
- instantiateFunction(Class<? extends Function<T, R>>) - 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
- isEmpty() - Method in interface io.github.resilience4j.core.functions.Either
- 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
- isLeft() - Method in interface io.github.resilience4j.core.functions.Either
-
Returns whether this Either is a Left.
- isLeft() - Method in class io.github.resilience4j.core.functions.Either.Left
- isLeft() - Method in class io.github.resilience4j.core.functions.Either.Right
- isNotEmpty(String) - Static method in class io.github.resilience4j.core.StringUtils
- isRight() - Method in interface io.github.resilience4j.core.functions.Either
-
Returns whether this Either is a Right.
- isRight() - Method in class io.github.resilience4j.core.functions.Either.Left
- isRight() - Method in class io.github.resilience4j.core.functions.Either.Right
- isSuccessfulAndReturned(Either<? extends Throwable, ?>, Class<T>, Function<T, Boolean>) - Static method in class io.github.resilience4j.core.ResultUtils
L
- left(L) - Static method in interface io.github.resilience4j.core.functions.Either
-
Constructs a
Either.Left - LockFreeFixedSizeSlidingWindowMetrics - Class in io.github.resilience4j.core.metrics
-
Implements a lock-free sliding window using a single linked list, represented by a head and a tail reference.
- LockFreeFixedSizeSlidingWindowMetrics(int) - Constructor for class io.github.resilience4j.core.metrics.LockFreeFixedSizeSlidingWindowMetrics
- LockFreeSlidingTimeWindowMetrics - Class in io.github.resilience4j.core.metrics
-
Implements a lock-free time sliding window using a single linked list, represented by a head and a tail reference.
- LockFreeSlidingTimeWindowMetrics(int) - Constructor for class io.github.resilience4j.core.metrics.LockFreeSlidingTimeWindowMetrics
- LockFreeSlidingTimeWindowMetrics(int, Clock) - Constructor for class io.github.resilience4j.core.metrics.LockFreeSlidingTimeWindowMetrics
- LockFreeSlidingTimeWindowMetrics.TimeSlice - Class in io.github.resilience4j.core.metrics
M
- map(Function<? super R, ? extends U>) - Method in interface io.github.resilience4j.core.functions.Either
-
Maps the left value if the projected Either is a Left.
- mapLeft(Function<? super L, ? extends U>) - Method in interface io.github.resilience4j.core.functions.Either
-
Maps the value of this Either if it is a Left, performs no operation if this is a Right.
- MeasurementData - Interface in io.github.resilience4j.core.metrics
-
Represents a data structure that holds the results of a measurement.
- Metrics - Interface in io.github.resilience4j.core.metrics
- Metrics.Outcome - Enum Class in io.github.resilience4j.core.metrics
- MetricsPublisher<E> - Interface in io.github.resilience4j.core.metrics
- monotonicTime() - Method in interface io.github.resilience4j.core.Clock
-
Current monotonic time in nanoseconds.
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 Interface in io.github.resilience4j.core.lang
-
A common Spring annotation to declare that annotated elements cannot be
null. - NonNullApi - Annotation Interface 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 Interface 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 Interface in io.github.resilience4j.core.lang
-
A common Spring annotation to declare that annotated elements can be
nullunder 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
- PackedAggregation - Class in io.github.resilience4j.core.metrics
-
A measurement implementation used in sliding windows to track the total duration and the number of calls in the window, along with the duration and number of calls of the current entry/bucket.
- PackedAggregation() - Constructor for class io.github.resilience4j.core.metrics.PackedAggregation
- PackedAggregation(long[], int[]) - Constructor for class io.github.resilience4j.core.metrics.PackedAggregation
- 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.PartialAggregation
- record(long, TimeUnit, Metrics.Outcome) - Method in interface io.github.resilience4j.core.metrics.CumulativeMeasurement
-
Records a call duration and its outcome.
- record(long, TimeUnit, Metrics.Outcome) - Method in class io.github.resilience4j.core.metrics.FixedSizeSlidingWindowMetrics
- record(long, TimeUnit, Metrics.Outcome) - Method in class io.github.resilience4j.core.metrics.LockFreeFixedSizeSlidingWindowMetrics
- record(long, TimeUnit, Metrics.Outcome) - Method in class io.github.resilience4j.core.metrics.LockFreeSlidingTimeWindowMetrics
- 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.PackedAggregation
- record(long, TimeUnit, Metrics.Outcome) - Method in class io.github.resilience4j.core.metrics.SlidingTimeWindowMetrics
- record(Long, TimeUnit, Metrics.Outcome) - Method in class io.github.resilience4j.core.metrics.LockFreeSlidingTimeWindowMetrics.TimeSlice
- recover(CheckedSupplier<T>, CheckedFunction<Throwable, T>) - Static method in class io.github.resilience4j.core.CheckedFunctionUtils
-
Returns a composed supplier that first executes the supplier and optionally recovers from an exception.
- recover(CheckedSupplier<T>, Class<X>, CheckedFunction<Throwable, T>) - Static method in class io.github.resilience4j.core.CheckedFunctionUtils
-
Returns a composed supplier that first executes the supplier and optionally recovers from an exception.
- recover(CheckedSupplier<T>, Predicate<T>, CheckedFunction<T, T>) - Static method in class io.github.resilience4j.core.CheckedFunctionUtils
-
Returns a composed supplier that first executes the supplier and optionally recovers from a specific result.
- recover(CheckedSupplier<T>, List<Class<? extends Throwable>>, CheckedFunction<Throwable, T>) - Static method in class io.github.resilience4j.core.CheckedFunctionUtils
-
Returns a composed supplier that first executes the supplier 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 Class 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
- removeConfiguration(String) - Method in class io.github.resilience4j.core.registry.AbstractRegistry
- removeConfiguration(String) - Method in interface io.github.resilience4j.core.Registry
-
+ * Removes a configuration from the registry + * + * @param configName the configuration name + * @return configuration mapped to the configName
- REMOVED - Enum constant in enum class 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 - Enum constant in enum class io.github.resilience4j.core.registry.RegistryEvent.Type
-
An Event which informs that an entry has been replaced
- ResultUtils - Class in io.github.resilience4j.core
- 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.
- right(R) - Static method in interface io.github.resilience4j.core.functions.Either
-
Constructs a
Either.Right - run() - Method in interface io.github.resilience4j.core.functions.CheckedRunnable
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
Metricsimplementation is backed by a sliding time window that aggregates only the calls made in the lastNseconds. - SlidingTimeWindowMetrics(int, Clock) - Constructor for class io.github.resilience4j.core.metrics.SlidingTimeWindowMetrics
-
Creates a new
SlidingTimeWindowMetricswith the given clock and window of time. - SLOW_ERROR - Enum constant in enum class io.github.resilience4j.core.metrics.Metrics.Outcome
- SLOW_SUCCESS - Enum constant in enum class io.github.resilience4j.core.metrics.Metrics.Outcome
- Snapshot - Interface in io.github.resilience4j.core.metrics
- SnapshotImpl - Class in io.github.resilience4j.core.metrics
- sneakyThrow(Throwable) - Static method in interface io.github.resilience4j.core.functions.CheckedConsumer
- sneakyThrow(Throwable) - Static method in interface io.github.resilience4j.core.functions.CheckedFunction
- sneakyThrow(Throwable) - Static method in interface io.github.resilience4j.core.functions.CheckedRunnable
- sneakyThrow(Throwable) - Static method in interface io.github.resilience4j.core.functions.CheckedSupplier
- 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
StopWatchto measure the processing duration of a call. - StringUtils - Class in io.github.resilience4j.core
- SUCCESS - Enum constant in enum class 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
- swap() - Method in interface io.github.resilience4j.core.functions.Either
-
Converts a
Leftto aRightvice versa by wrapping the value in a new type. - SYSTEM - Static variable in interface io.github.resilience4j.core.Clock
T
- TAGS_MUST_NOT_BE_NULL - Static variable in class io.github.resilience4j.core.registry.AbstractRegistry
- TimeSlice(int, long, PackedAggregation, boolean) - Constructor for class io.github.resilience4j.core.metrics.LockFreeSlidingTimeWindowMetrics.TimeSlice
- toString() - Method in class io.github.resilience4j.core.metrics.PackedAggregation
- toString() - Method in class io.github.resilience4j.core.metrics.SnapshotImpl
U
- unchecked() - Method in interface io.github.resilience4j.core.functions.CheckedConsumer
- unchecked() - Method in interface io.github.resilience4j.core.functions.CheckedFunction
- unchecked() - Method in interface io.github.resilience4j.core.functions.CheckedRunnable
- unchecked() - Method in interface io.github.resilience4j.core.functions.CheckedSupplier
V
- valueOf(String) - Static method in enum class io.github.resilience4j.core.metrics.Metrics.Outcome
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.github.resilience4j.core.registry.RegistryEvent.Type
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class io.github.resilience4j.core.metrics.Metrics.Outcome
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Method in class io.github.resilience4j.core.registry.InMemoryRegistryStore
- values() - Static method in enum class io.github.resilience4j.core.registry.RegistryEvent.Type
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Method in interface io.github.resilience4j.core.RegistryStore
W
- wallTime() - Method in interface io.github.resilience4j.core.Clock
-
Current time expressed as milliseconds since the Unix epoch.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form