Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- AbstractAggregation - Class in io.github.resilience4j.core.metrics
- AbstractAggregation() - Constructor for class io.github.resilience4j.core.metrics.AbstractAggregation
- 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) - Constructor for class io.github.resilience4j.core.registry.AbstractRegistry
- AbstractRegistry(C, RegistryEventConsumer, Map) - Constructor for class io.github.resilience4j.core.registry.AbstractRegistry
- AbstractRegistry(C, List) - Constructor for class io.github.resilience4j.core.registry.AbstractRegistry
- AbstractRegistry(C, List, Map) - Constructor for class io.github.resilience4j.core.registry.AbstractRegistry
- AbstractRegistry(C, List, Map, RegistryStore) - Constructor for class io.github.resilience4j.core.registry.AbstractRegistry
- AbstractRegistry(C, Map) - Constructor for class io.github.resilience4j.core.registry.AbstractRegistry
- AbstractRegistry.RegistryEventProcessor - Class in io.github.resilience4j.core.registry
- AbstractRegistryEvent - Class in io.github.resilience4j.core.registry
- AbstractRegistryEvent() - Constructor for class io.github.resilience4j.core.registry.AbstractRegistryEvent
- accept(T) - Method in interface io.github.resilience4j.core.functions.CheckedConsumer
- AcquirePermissionCancelledException - Exception Class 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 class io.github.resilience4j.core.exception.AcquirePermissionCancelledException
- AcquirePermissionCancelledException(String) - Constructor for exception class 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
- addedEntry - Variable in class io.github.resilience4j.core.registry.EntryAddedEvent
- andThen(CheckedConsumer) - Method in interface io.github.resilience4j.core.functions.CheckedConsumer
- andThen(CheckedFunction) - Method in interface io.github.resilience4j.core.functions.CheckedSupplier
- andThen(CheckedSupplier, CheckedBiFunction) - 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, BiFunction) - 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, Function) - 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, Function, Function) - 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, BiFunction) - 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, BiFunction) - 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, Function) - 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, Function, Function) - 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) - 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
- CallableUtils() - Constructor for class io.github.resilience4j.core.CallableUtils
- checkAttempt(long) - Static method in class io.github.resilience4j.core.IntervalFunctionCompanion
- CheckedBiFunction<T,
U, - Interface in io.github.resilience4j.core.functionsR> -
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
- CheckedFunctionUtils() - Constructor for class io.github.resilience4j.core.CheckedFunctionUtils
- 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. - checkInterval(long) - Static method in class io.github.resilience4j.core.IntervalFunctionCompanion
- checkRandomizationFactor(double) - Static method in class io.github.resilience4j.core.IntervalFunctionCompanion
- ClassUtils - Class in io.github.resilience4j.core
- ClassUtils() - Constructor for class io.github.resilience4j.core.ClassUtils
- 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 - Variable in class io.github.resilience4j.core.metrics.SlidingTimeWindowMetrics
- clock - Variable in class io.github.resilience4j.core.StopWatch
- CompletionStageUtils - Class in io.github.resilience4j.core
- CompletionStageUtils() - Constructor for class io.github.resilience4j.core.CompletionStageUtils
- CompositeRegistryEventConsumer<E> - Class in io.github.resilience4j.core.registry
- CompositeRegistryEventConsumer(List) - Constructor for class io.github.resilience4j.core.registry.CompositeRegistryEventConsumer
- computeIfAbsent(String, Function) - Method in class io.github.resilience4j.core.registry.InMemoryRegistryStore
- computeIfAbsent(String, Function) - Method in interface io.github.resilience4j.core.RegistryStore
- computeIfAbsent(String, Supplier) - 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 Class in io.github.resilience4j.core
-
configuration not found exception
- ConfigurationNotFoundException(String) - Constructor for exception class io.github.resilience4j.core.ConfigurationNotFoundException
- configurations - Variable in class io.github.resilience4j.core.registry.AbstractRegistry
- consumeEvent(RegistryEvent) - Method in class io.github.resilience4j.core.registry.AbstractRegistry.RegistryEventProcessor
- 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
- consumerRegistered - Variable in class io.github.resilience4j.core.EventProcessor
- CONTEXT_PROPAGATOR_LIST_SHOULD_BE_NON_NULL - Static variable in interface io.github.resilience4j.core.ContextPropagator
- ContextAwareScheduledThreadPoolExecutor - Class in io.github.resilience4j.core
- ContextAwareScheduledThreadPoolExecutor(int, List) - Constructor for class io.github.resilience4j.core.ContextAwareScheduledThreadPoolExecutor
- 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 - Variable in class io.github.resilience4j.core.ContextAwareScheduledThreadPoolExecutor.Builder
- contextPropagators - Variable in class io.github.resilience4j.core.ContextAwareScheduledThreadPoolExecutor
- 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 - Variable in class io.github.resilience4j.core.ContextAwareScheduledThreadPoolExecutor.Builder
- corePoolSize(int) - Method in class io.github.resilience4j.core.ContextAwareScheduledThreadPoolExecutor.Builder
- createExceptionsPredicate(Class...) - Static method in class io.github.resilience4j.core.predicate.PredicateCreator
- createExceptionsPredicate(Predicate, Class...) - Static method in class io.github.resilience4j.core.predicate.PredicateCreator
- createName() - Method in class io.github.resilience4j.core.NamingThreadFactory
- createNegatedExceptionsPredicate(Class...) - Static method in class io.github.resilience4j.core.predicate.PredicateCreator
- creationTime - Variable in class io.github.resilience4j.core.registry.AbstractRegistryEvent
D
- decorateCallable(ContextPropagator, Callable) - Static method in interface io.github.resilience4j.core.ContextPropagator
-
Method decorates callable to copy variables across thread boundary.
- decorateCallable(List, Callable) - 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, Runnable) - Static method in interface io.github.resilience4j.core.ContextPropagator
-
Method decorates runnable to copy variables across thread boundary.
- decorateSupplier(ContextPropagator, Supplier) - Static method in interface io.github.resilience4j.core.ContextPropagator
-
Method decorates supplier to copy variables across thread boundary.
- decorateSupplier(List, Supplier) - 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_MESSAGE - Static variable in exception class io.github.resilience4j.core.exception.AcquirePermissionCancelledException
- DEFAULT_MULTIPLIER - Static variable in interface io.github.resilience4j.core.IntervalFunction
- DEFAULT_RANDOMIZATION_FACTOR - Static variable in interface io.github.resilience4j.core.IntervalFunction
- delegates - Variable in class io.github.resilience4j.core.registry.CompositeRegistryEventConsumer
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
- EntryAddedEvent(E) - Constructor for class io.github.resilience4j.core.registry.EntryAddedEvent
- entryMap - Variable in class io.github.resilience4j.core.registry.AbstractRegistry
- entryMap - Variable in class io.github.resilience4j.core.registry.InMemoryRegistryStore
- EntryRemovedEvent<E> - Class in io.github.resilience4j.core.registry
- EntryRemovedEvent(E) - Constructor for class io.github.resilience4j.core.registry.EntryRemovedEvent
- EntryReplacedEvent<E> - Class in io.github.resilience4j.core.registry
- EntryReplacedEvent(E, E) - Constructor for class io.github.resilience4j.core.registry.EntryReplacedEvent
- epochSecond - Variable in class io.github.resilience4j.core.metrics.PartialAggregation
- ERROR - Enum constant in enum class io.github.resilience4j.core.metrics.Metrics.Outcome
- EventConsumer<T> - Interface in io.github.resilience4j.core
- eventConsumerMap - Variable in class io.github.resilience4j.core.EventProcessor
- eventProcessor - Variable in class io.github.resilience4j.core.registry.AbstractRegistry
- 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
- exceptionPredicate(Class[]) - Static method in class io.github.resilience4j.core.predicate.PredicateCreator
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, Function) - 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) - 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.AbstractRegistryEvent
- 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
- getLatestMeasurement() - Method in class io.github.resilience4j.core.metrics.FixedSizeSlidingWindowMetrics
-
Returns the head partial aggregation of the circular array.
- getLatestPartialAggregation() - Method in class io.github.resilience4j.core.metrics.SlidingTimeWindowMetrics
-
Returns the head partial aggregation of the circular array.
- 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
- getMdcContextMap() - Method in class io.github.resilience4j.core.ContextAwareScheduledThreadPoolExecutor
- 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.
- 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 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
- getThreadGroup() - Method in class io.github.resilience4j.core.NamingThreadFactory
- 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
- group - Variable in class io.github.resilience4j.core.NamingThreadFactory
H
- hasConsumers() - Method in class io.github.resilience4j.core.EventProcessor
- hasRun - Variable in class io.github.resilience4j.core.functions.OnceConsumer
- headIndex - Variable in class io.github.resilience4j.core.metrics.FixedSizeSlidingWindowMetrics
- headIndex - Variable in class io.github.resilience4j.core.metrics.SlidingTimeWindowMetrics
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) - Static method in class io.github.resilience4j.core.ClassUtils
- instantiateClassDefConstructor(Class) - Static method in class io.github.resilience4j.core.ClassUtils
- instantiateIntervalBiFunctionClass(Class) - Static method in class io.github.resilience4j.core.ClassUtils
- instantiatePredicateClass(Class) - Static method in class io.github.resilience4j.core.ClassUtils
- INSTANTIATION_ERROR_PREFIX - Static variable in class io.github.resilience4j.core.ClassUtils
- InstantiationException - Exception Class in io.github.resilience4j.core
- InstantiationException(String) - Constructor for exception class io.github.resilience4j.core.InstantiationException
- InstantiationException(String, Throwable) - Constructor for exception class 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.
- IntervalFunctionCompanion - Class in io.github.resilience4j.core
- IntervalFunctionCompanion() - Constructor for class io.github.resilience4j.core.IntervalFunctionCompanion
- 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, Class) - Static method in class io.github.resilience4j.core.ResultUtils
- isFailedAndThrown(Either, Class, Function) - 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, Class, Function) - 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 - Left(L) - Constructor for class io.github.resilience4j.core.functions.Either.Left
-
Constructs a
Left.
M
- makePredicate(Class) - Static method in class io.github.resilience4j.core.predicate.PredicateCreator
- map(Function) - Method in interface io.github.resilience4j.core.functions.Either
-
Maps the left value if the projected Either is a Left.
- mapLeft(Function) - 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.
- Measurement - Class in io.github.resilience4j.core.metrics
- Measurement() - Constructor for class io.github.resilience4j.core.metrics.Measurement
- measurements - Variable in class io.github.resilience4j.core.metrics.FixedSizeSlidingWindowMetrics
- 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
- moveHeadIndexByOne() - Method in class io.github.resilience4j.core.metrics.FixedSizeSlidingWindowMetrics
-
Moves the headIndex to the next bucket.
- moveHeadIndexByOne() - Method in class io.github.resilience4j.core.metrics.SlidingTimeWindowMetrics
-
Moves the headIndex to the next bucket.
- moveWindowByOne() - Method in class io.github.resilience4j.core.metrics.FixedSizeSlidingWindowMetrics
- moveWindowToCurrentEpochSecond(PartialAggregation) - Method in class io.github.resilience4j.core.metrics.SlidingTimeWindowMetrics
-
Moves the end of the time window to the current epoch second.
N
- NAME_MUST_NOT_BE_NULL - Static variable in class io.github.resilience4j.core.registry.AbstractRegistry
- 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
- newEntry - Variable in class io.github.resilience4j.core.registry.EntryReplacedEvent
- 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. - numberOfCalls - Variable in class io.github.resilience4j.core.metrics.AbstractAggregation
- numberOfFailedCalls - Variable in class io.github.resilience4j.core.metrics.AbstractAggregation
- numberOfSlowCalls - Variable in class io.github.resilience4j.core.metrics.AbstractAggregation
- numberOfSlowFailedCalls - Variable in class io.github.resilience4j.core.metrics.AbstractAggregation
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) - 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) - 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
- oldEntry - Variable in class io.github.resilience4j.core.registry.EntryReplacedEvent
- OnceConsumer<T> - Class in io.github.resilience4j.core.functions
-
Apply a computation only once.
- OnceConsumer(T) - Constructor for class io.github.resilience4j.core.functions.OnceConsumer
- onEntryAdded(EventConsumer) - Method in class io.github.resilience4j.core.registry.AbstractRegistry.RegistryEventProcessor
- onEntryAdded(EventConsumer) - Method in interface io.github.resilience4j.core.Registry.EventPublisher
- onEntryAddedEvent(EntryAddedEvent) - Method in interface io.github.resilience4j.core.metrics.MetricsPublisher
- onEntryAddedEvent(EntryAddedEvent) - Method in class io.github.resilience4j.core.registry.CompositeRegistryEventConsumer
- onEntryAddedEvent(EntryAddedEvent) - Method in interface io.github.resilience4j.core.registry.RegistryEventConsumer
- onEntryRemoved(EventConsumer) - Method in class io.github.resilience4j.core.registry.AbstractRegistry.RegistryEventProcessor
- onEntryRemoved(EventConsumer) - Method in interface io.github.resilience4j.core.Registry.EventPublisher
- onEntryRemovedEvent(EntryRemovedEvent) - Method in interface io.github.resilience4j.core.metrics.MetricsPublisher
- onEntryRemovedEvent(EntryRemovedEvent) - Method in class io.github.resilience4j.core.registry.CompositeRegistryEventConsumer
- onEntryRemovedEvent(EntryRemovedEvent) - Method in interface io.github.resilience4j.core.registry.RegistryEventConsumer
- onEntryReplaced(EventConsumer) - Method in class io.github.resilience4j.core.registry.AbstractRegistry.RegistryEventProcessor
- onEntryReplaced(EventConsumer) - Method in interface io.github.resilience4j.core.Registry.EventPublisher
- onEntryReplacedEvent(EntryReplacedEvent) - Method in interface io.github.resilience4j.core.metrics.MetricsPublisher
- onEntryReplacedEvent(EntryReplacedEvent) - Method in class io.github.resilience4j.core.registry.CompositeRegistryEventConsumer
- onEntryReplacedEvent(EntryReplacedEvent) - Method in interface io.github.resilience4j.core.registry.RegistryEventConsumer
- onEvent(EventConsumer) - Method in class io.github.resilience4j.core.EventProcessor
- onEvent(EventConsumer) - Method in interface io.github.resilience4j.core.EventPublisher
- onEventConsumers - Variable in class io.github.resilience4j.core.EventProcessor
- Outcome() - Constructor for enum class io.github.resilience4j.core.metrics.Metrics.Outcome
P
- PartialAggregation - Class in io.github.resilience4j.core.metrics
- PartialAggregation(long) - Constructor for class io.github.resilience4j.core.metrics.PartialAggregation
- partialAggregations - Variable in class io.github.resilience4j.core.metrics.SlidingTimeWindowMetrics
- PredicateCreator - Class in io.github.resilience4j.core.predicate
- PredicateCreator() - Constructor for class io.github.resilience4j.core.predicate.PredicateCreator
- prefix - Variable in class io.github.resilience4j.core.NamingThreadFactory
- 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
- randomize(double, double) - Static method in class io.github.resilience4j.core.IntervalFunctionCompanion
- record(long, TimeUnit, Metrics.Outcome) - Method in class io.github.resilience4j.core.metrics.AbstractAggregation
- 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(CheckedSupplier, CheckedFunction) - 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, Class, CheckedFunction) - 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, Predicate, CheckedFunction) - 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, List, CheckedFunction) - 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, Class, Function) - 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, Function) - 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, Predicate, UnaryOperator) - 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, List, Function) - 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, Class, Function) - Static method in class io.github.resilience4j.core.CompletionStageUtils
-
Returns a CompletionStage that is recovered from a specific exception.
- recover(CompletionStage, Function) - Static method in class io.github.resilience4j.core.CompletionStageUtils
-
Returns a CompletionStage that is recovered from any exception.
- recover(CompletionStage, Predicate, UnaryOperator) - 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, List, Function) - Static method in class io.github.resilience4j.core.CompletionStageUtils
-
Returns a CompletionStage that is recovered from a specific exception.
- recover(Supplier, Class, Function) - Static method in class io.github.resilience4j.core.CompletionStageUtils
-
Returns a decorated CompletionStage that is recovered from a specific exception.
- recover(Supplier, Function) - Static method in class io.github.resilience4j.core.CompletionStageUtils
-
Returns a decorated CompletionStage that is recovered from a specific exception.
- recover(Supplier, Predicate, UnaryOperator) - 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, List, Function) - Static method in class io.github.resilience4j.core.CompletionStageUtils
-
Returns a decorated CompletionStage that is recovered from a specific exception.
- recover(Supplier, Class, Function) - 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, Function) - 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, Predicate, UnaryOperator) - 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, List, Function) - 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) - 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_STORE_MUST_NOT_BE_NULL - Static variable in class io.github.resilience4j.core.registry.AbstractRegistry
- 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
- RegistryEventProcessor() - Constructor for class io.github.resilience4j.core.registry.AbstractRegistry.RegistryEventProcessor
- RegistryEventProcessor(List) - Constructor for class io.github.resilience4j.core.registry.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
- removeBucket(AbstractAggregation) - Method in class io.github.resilience4j.core.metrics.TotalAggregation
- REMOVED - Enum constant in enum class io.github.resilience4j.core.registry.RegistryEvent.Type
-
An Event which informs that an entry has been removed
- removedEntry - Variable in class io.github.resilience4j.core.registry.EntryRemovedEvent
- 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
- reset() - Method in class io.github.resilience4j.core.metrics.Measurement
- reset(long) - Method in class io.github.resilience4j.core.metrics.PartialAggregation
- 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.
- right(R) - Static method in interface io.github.resilience4j.core.functions.Either
-
Constructs a
Either.Right - Right(R) - Constructor for class io.github.resilience4j.core.functions.Either.Right
-
Constructs a
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, 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
- setMDCContext(Map) - 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
- SnapshotImpl(TotalAggregation) - Constructor for class io.github.resilience4j.core.metrics.SnapshotImpl
- 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
- startTime - Variable 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. - StopWatch(Clock) - Constructor for class io.github.resilience4j.core.StopWatch
- StringUtils - Class in io.github.resilience4j.core
- StringUtils() - Constructor for class io.github.resilience4j.core.StringUtils
- 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
- SupplierUtils() - Constructor for class io.github.resilience4j.core.SupplierUtils
- swap() - Method in interface io.github.resilience4j.core.functions.Either
-
Converts a
Leftto aRightvice versa by wrapping the value in a new type.
T
- t - Variable in class io.github.resilience4j.core.functions.OnceConsumer
- TAGS_MUST_NOT_BE_NULL - Static variable in class io.github.resilience4j.core.registry.AbstractRegistry
- THREAD_PREFIX - Static variable in class io.github.resilience4j.core.ContextAwareScheduledThreadPoolExecutor
- threadNumber - Variable in class io.github.resilience4j.core.NamingThreadFactory
- timeWindowSizeInSeconds - Variable in class io.github.resilience4j.core.metrics.SlidingTimeWindowMetrics
- totalAggregation - Variable in class io.github.resilience4j.core.metrics.FixedSizeSlidingWindowMetrics
- totalAggregation - Variable in class io.github.resilience4j.core.metrics.SlidingTimeWindowMetrics
- TotalAggregation - Class in io.github.resilience4j.core.metrics
- TotalAggregation() - Constructor for class io.github.resilience4j.core.metrics.TotalAggregation
- totalDurationInMillis - Variable in class io.github.resilience4j.core.metrics.AbstractAggregation
- totalDurationInMillis - Variable in class io.github.resilience4j.core.metrics.SnapshotImpl
- totalNumberOfCalls - Variable in class io.github.resilience4j.core.metrics.SnapshotImpl
- totalNumberOfFailedCalls - Variable in class io.github.resilience4j.core.metrics.SnapshotImpl
- totalNumberOfSlowCalls - Variable in class io.github.resilience4j.core.metrics.SnapshotImpl
- totalNumberOfSlowFailedCalls - Variable in class io.github.resilience4j.core.metrics.SnapshotImpl
- tryRecover(Class, Function, CompletableFuture, Throwable) - Static method in class io.github.resilience4j.core.CompletionStageUtils
- tryRecover(List, Function, CompletableFuture, Throwable) - Static method in class io.github.resilience4j.core.CompletionStageUtils
- Type() - Constructor for enum class io.github.resilience4j.core.registry.RegistryEvent.Type
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
- value - Variable in class io.github.resilience4j.core.functions.Either.Left
- value - Variable in class io.github.resilience4j.core.functions.Either.Right
- 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
- windowSize - Variable in class io.github.resilience4j.core.metrics.FixedSizeSlidingWindowMetrics
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form