索引
All Classes and Interfaces|常量字段值|所有程序包|序列化表格
A
- abort - 类中的变量 infra.retry.stats.ExponentialAverageRetryStatistics
- abortCount - 类中的变量 infra.retry.stats.DefaultRetryStatistics
- add(Class<? extends T>, C) - 类中的方法 infra.classify.SubclassClassifier
-
The keys is the type and this will be mapped along with all subclasses to the corresponding value.
- addAbort(String) - 类中的方法 infra.retry.stats.DefaultStatisticsRepository
- addAbort(String) - 接口中的方法 infra.retry.stats.StatisticsRepository
- addComplete(String) - 类中的方法 infra.retry.stats.DefaultStatisticsRepository
- addComplete(String) - 接口中的方法 infra.retry.stats.StatisticsRepository
- addError(String) - 类中的方法 infra.retry.stats.DefaultStatisticsRepository
- addError(String) - 接口中的方法 infra.retry.stats.StatisticsRepository
- addRecovery(String) - 类中的方法 infra.retry.stats.DefaultStatisticsRepository
- addRecovery(String) - 接口中的方法 infra.retry.stats.StatisticsRepository
- addSequence(List<Long>) - 类中的方法 infra.retry.support.RetrySimulation
-
Add a sequence of sleeps to the simulation.
- addStarted(String) - 类中的方法 infra.retry.stats.DefaultStatisticsRepository
- addStarted(String) - 接口中的方法 infra.retry.stats.StatisticsRepository
- advice - 类中的变量 infra.retry.annotation.RetryConfiguration
- afterPropertiesSet() - 类中的方法 infra.retry.annotation.RetryConfiguration
- afterSingletonsInstantiated() - 类中的方法 infra.retry.annotation.RetryConfiguration
- alpha - 类中的变量 infra.retry.stats.ExponentialAverageRetryStatistics.ExponentialAverage
- AlwaysRetryPolicy - infra.retry.policy中的类
-
A
RetryPolicy
that always permits a retry. - AlwaysRetryPolicy() - 类的构造器 infra.retry.policy.AlwaysRetryPolicy
- AnnotationAwareRetryOperationsInterceptor - infra.retry.annotation中的类
-
Interceptor that parses the retry metadata on the method it is invoking and delegates to an appropriate RetryOperationsInterceptor.
- AnnotationAwareRetryOperationsInterceptor() - 类的构造器 infra.retry.annotation.AnnotationAwareRetryOperationsInterceptor
- AnnotationClassOrMethodFilter(Class<? extends Annotation>) - 类的构造器 infra.retry.annotation.RetryConfiguration.AnnotationClassOrMethodFilter
- AnnotationClassOrMethodPointcut(Class<? extends Annotation>) - 类的构造器 infra.retry.annotation.RetryConfiguration.AnnotationClassOrMethodPointcut
- AnnotationMethodsResolver(Class<? extends Annotation>) - record class的构造器 infra.retry.annotation.RetryConfiguration.AnnotationMethodsResolver
-
创建
AnnotationMethodsResolver
记录的实例。 - annotationType - record class中的变量 infra.retry.annotation.RetryConfiguration.AnnotationMethodsResolver
-
annotationType
记录组件的字段。 - annotationType() - record class中的方法 infra.retry.annotation.RetryConfiguration.AnnotationMethodsResolver
-
返回
annotationType
记录组件的值。 - argCount - 类中的变量 infra.retry.annotation.RecoverAnnotationRecoveryHandler.RecoverMetadata
- args - record class中的变量 infra.retry.interceptor.RetryOperationsInterceptor.ItemRecovererCallback
-
args
记录组件的字段。 - args - record class中的变量 infra.retry.interceptor.StatefulRetryOperationsInterceptor.ItemRecovererCallback
-
args
记录组件的字段。 - args - 类中的变量 infra.retry.support.Args
- args() - record class中的方法 infra.retry.interceptor.RetryOperationsInterceptor.ItemRecovererCallback
-
返回
args
记录组件的值。 - args() - record class中的方法 infra.retry.interceptor.StatefulRetryOperationsInterceptor.ItemRecovererCallback
-
返回
args
记录组件的值。 - Args - infra.retry.support中的类
-
A root object containing the method arguments to use in expression evaluation.
- Args(Object[]) - 类的构造器 infra.retry.support.Args
B
- backoff() - annotation interface 中的元素 infra.retry.annotation.Retryable
-
Specify the backoff properties for retrying this operation.
- backOff(BackOffContext) - 接口中的方法 infra.retry.backoff.BackOffPolicy
-
Back off/pause in an implementation-specific fashion.
- backOff(BackOffContext) - 类中的方法 infra.retry.backoff.ExponentialBackOffPolicy
-
Pause for the current backoff interval.
- backOff(BackOffContext) - 类中的方法 infra.retry.backoff.StatelessBackOffPolicy
-
Delegates directly to the
StatelessBackOffPolicy.doBackOff()
method without passing on theBackOffContext
argument which is not needed for stateless implementations. - Backoff - infra.retry.annotation中的Annotation Interface
-
Collects metadata for a
BackOffPolicy
. - BackOffContext - infra.retry.backoff中的接口
- BackOffInterruptedException - infra.retry.backoff中的异常错误
-
Exception class signifiying that an attempt to back off using a
BackOffPolicy
was interrupted, most likely by anInterruptedException
during a call toThread.sleep(long)
. - BackOffInterruptedException(String) - 异常错误的构造器 infra.retry.backoff.BackOffInterruptedException
- BackOffInterruptedException(String, Throwable) - 异常错误的构造器 infra.retry.backoff.BackOffInterruptedException
- backOffOptions(long, double, long) - 类中的方法 infra.retry.interceptor.RetryInterceptorBuilder
-
Apply the backoff options.
- backOffOptions(long, double, long) - 类中的方法 infra.retry.interceptor.RetryInterceptorBuilder.StatefulRetryInterceptorBuilder
- backOffOptionsSet - 类中的变量 infra.retry.interceptor.RetryInterceptorBuilder
- backOffPeriod - 类中的变量 infra.retry.backoff.FixedBackOffPolicy
-
The back off period in milliseconds.
- backOffPeriodSupplier(Supplier<Long>) - 类中的方法 infra.retry.backoff.FixedBackOffPolicy
-
Set a supplier for the back off period in milliseconds.
- backOffPolicy - 类中的变量 infra.retry.support.RetrySimulator
- backOffPolicy - 类中的变量 infra.retry.support.RetryTemplate
- backOffPolicy - 类中的变量 infra.retry.support.RetryTemplateBuilder
- backOffPolicy(BackOffPolicy) - 类中的方法 infra.retry.interceptor.RetryInterceptorBuilder
-
Apply the back off policy.
- backOffPolicy(BackOffPolicy) - 类中的方法 infra.retry.interceptor.RetryInterceptorBuilder.StatefulRetryInterceptorBuilder
- BackOffPolicy - infra.retry.backoff中的接口
-
Strategy interface to control back off between attempts in a single
retry operation
. - BackOffPolicyBuilder - infra.retry.backoff中的类
-
Fluent API for creating a
BackOffPolicy
based on given attributes. - BackOffPolicyBuilder() - 类的构造器 infra.retry.backoff.BackOffPolicyBuilder
- backOffPolicySet - 类中的变量 infra.retry.interceptor.RetryInterceptorBuilder
- BackToBackPatternClassifier<C,
T> - infra.classify中的类 -
A special purpose
Classifier
with easy configuration options for mapping from one arbitrary type of object to another via a pattern matcher. - BackToBackPatternClassifier() - 类的构造器 infra.classify.BackToBackPatternClassifier
-
Default constructor, provided as a convenience for people using setter injection.
- BackToBackPatternClassifier(Classifier<C, String>, Classifier<String, T>) - 类的构造器 infra.classify.BackToBackPatternClassifier
-
Set up a classifier with input to the router and output from the matcher.
- baseRetryPolicy - 类中的变量 infra.retry.support.RetryTemplateBuilder
- beanFactory - 类中的变量 infra.retry.annotation.AnnotationAwareRetryOperationsInterceptor
- beanFactory - 类中的变量 infra.retry.annotation.RetryConfiguration
- BinaryExceptionClassifier - infra.classify中的类
-
A
Classifier
for exceptions that has only two classes (true and false). - BinaryExceptionClassifier(boolean) - 类的构造器 infra.classify.BinaryExceptionClassifier
-
Create a binary exception classifier with the provided default value.
- BinaryExceptionClassifier(Collection<Class<? extends Throwable>>) - 类的构造器 infra.classify.BinaryExceptionClassifier
-
Create a binary exception classifier with the default value false and value mapping true for the provided classes and their subclasses.
- BinaryExceptionClassifier(Collection<Class<? extends Throwable>>, boolean) - 类的构造器 infra.classify.BinaryExceptionClassifier
-
Create a binary exception classifier with the provided classes and their subclasses.
- BinaryExceptionClassifier(Map<Class<? extends Throwable>, Boolean>) - 类的构造器 infra.classify.BinaryExceptionClassifier
-
Create a binary exception classifier using the given classification map and a default classification of false.
- BinaryExceptionClassifier(Map<Class<? extends Throwable>, Boolean>, boolean) - 类的构造器 infra.classify.BinaryExceptionClassifier
-
Create a binary exception classifier using the given classification map and the given value for default class.
- BinaryExceptionClassifier(Map<Class<? extends Throwable>, Boolean>, boolean, boolean) - 类的构造器 infra.classify.BinaryExceptionClassifier
-
Create a binary exception classifier.
- BinaryExceptionClassifierBuilder - infra.classify中的类
-
Fluent API for BinaryExceptionClassifier configuration.
- BinaryExceptionClassifierBuilder() - 类的构造器 infra.classify.BinaryExceptionClassifierBuilder
- BinaryExceptionClassifierRetryPolicy - infra.retry.policy中的类
-
A policy, that is based on
BinaryExceptionClassifier
. - BinaryExceptionClassifierRetryPolicy(BinaryExceptionClassifier) - 类的构造器 infra.retry.policy.BinaryExceptionClassifierRetryPolicy
- build() - 类中的方法 infra.classify.BinaryExceptionClassifierBuilder
- build() - 类中的方法 infra.retry.backoff.BackOffPolicyBuilder
-
Builds the
BackOffPolicy
with the given parameters. - build() - 类中的方法 infra.retry.interceptor.RetryInterceptorBuilder
- build() - 类中的方法 infra.retry.interceptor.RetryInterceptorBuilder.CircuitBreakerInterceptorBuilder
- build() - 类中的方法 infra.retry.interceptor.RetryInterceptorBuilder.StatefulRetryInterceptorBuilder
- build() - 类中的方法 infra.retry.interceptor.RetryInterceptorBuilder.StatelessRetryInterceptorBuilder
- build() - 类中的方法 infra.retry.support.RetryTemplateBuilder
-
Build a new
RetryTemplate
. - buildAdvice() - 类中的方法 infra.retry.annotation.RetryConfiguration
- buildBackOff(long, Expression, long, Expression, double, Expression, boolean, Expression, boolean) - 类中的方法 infra.retry.annotation.AnnotationAwareRetryOperationsInterceptor
- builder() - 类中的静态方法 infra.classify.BinaryExceptionClassifier
- builder() - 类中的静态方法 infra.retry.support.RetryTemplate
-
Main entry point to configure RetryTemplate using fluent API.
- buildPointcut(Set<Class<? extends Annotation>>) - 类中的方法 infra.retry.annotation.RetryConfiguration
-
Calculate a pointcut for the given retry annotation types, if any.
C
- calculateDistance(Class<? extends Throwable>, Class<? extends Throwable>) - 类中的方法 infra.retry.annotation.RecoverAnnotationRecoveryHandler
- canRetry(RetryContext) - 类中的方法 infra.retry.policy.AlwaysRetryPolicy
-
Always returns true.
- canRetry(RetryContext) - 类中的方法 infra.retry.policy.BinaryExceptionClassifierRetryPolicy
- canRetry(RetryContext) - 类中的方法 infra.retry.policy.CircuitBreakerRetryPolicy
- canRetry(RetryContext) - 类中的方法 infra.retry.policy.CompositeRetryPolicy
-
Delegate to the policies that were in operation when the context was created.
- canRetry(RetryContext) - 类中的方法 infra.retry.policy.ExceptionClassifierRetryPolicy
-
Delegate to the policy currently activated in the context.
- canRetry(RetryContext) - 类中的方法 infra.retry.policy.ExceptionClassifierRetryPolicy.ExceptionClassifierRetryContext
- canRetry(RetryContext) - 类中的方法 infra.retry.policy.ExpressionRetryPolicy
- canRetry(RetryContext) - 类中的方法 infra.retry.policy.MaxAttemptsRetryPolicy
-
Test for retryable operation based on the status.
- canRetry(RetryContext) - 类中的方法 infra.retry.policy.NeverRetryPolicy
-
Returns false after the first exception.
- canRetry(RetryContext) - 类中的方法 infra.retry.policy.SimpleRetryPolicy
-
Test for retryable operation based on the status.
- canRetry(RetryContext) - 类中的方法 infra.retry.policy.TimeoutRetryPolicy
-
Only permits a retry if the timeout has not expired.
- canRetry(RetryContext) - 接口中的方法 infra.retry.RetryPolicy
- canRetry(RetryPolicy, RetryContext) - 类中的方法 infra.retry.support.RetryTemplate
-
Decide whether to proceed with the ongoing retry attempt.
- capacity - 类中的变量 infra.retry.policy.MapRetryContextCache
- capacity - 类中的变量 infra.retry.policy.SoftReferenceMapRetryContextCache
- CIRCUIT_OPEN - 类中的静态变量 infra.retry.policy.CircuitBreakerRetryPolicy
- CIRCUIT_SHORT_COUNT - 类中的静态变量 infra.retry.policy.CircuitBreakerRetryPolicy
- circuitBreaker() - 类中的静态方法 infra.retry.interceptor.RetryInterceptorBuilder
-
Create a builder for a circuit breaker retry interceptor.
- CircuitBreaker - infra.retry.annotation中的Annotation Interface
-
Annotation for a method invocation that is retryable.
- CircuitBreakerInterceptorBuilder() - 类的构造器 infra.retry.interceptor.RetryInterceptorBuilder.CircuitBreakerInterceptorBuilder
- CircuitBreakerRetryContext(RetryContext, RetryPolicy, long, long) - 类的构造器 infra.retry.policy.CircuitBreakerRetryPolicy.CircuitBreakerRetryContext
- CircuitBreakerRetryPolicy - infra.retry.policy中的类
- CircuitBreakerRetryPolicy() - 类的构造器 infra.retry.policy.CircuitBreakerRetryPolicy
- CircuitBreakerRetryPolicy(RetryPolicy) - 类的构造器 infra.retry.policy.CircuitBreakerRetryPolicy
- CircuitBreakerRetryPolicy.CircuitBreakerRetryContext - infra.retry.policy中的类
- classified - 类中的变量 infra.classify.SubclassClassifier
- classifier - 类中的变量 infra.classify.ClassifierAdapter
- classifier - 类中的变量 infra.retry.annotation.RecoverAnnotationRecoveryHandler
- Classifier<C,
T> - infra.classify中的接口 -
Interface for a classifier.
- Classifier - infra.classify.annotation中的Annotation Interface
-
Mark a method as capable of classifying its input to an instance of its output.
- ClassifierAdapter<C,
T> - infra.classify中的类 -
Wrapper for an object to adapt it to the
Classifier
interface. - ClassifierAdapter() - 类的构造器 infra.classify.ClassifierAdapter
-
Default constructor for use with setter injection.
- ClassifierAdapter(Classifier<C, T>) - 类的构造器 infra.classify.ClassifierAdapter
-
Create a new
Classifier
from the delegate provided. - ClassifierAdapter(Object) - 类的构造器 infra.classify.ClassifierAdapter
-
Create a new
Classifier
from the delegate provided. - classifierBuilder - 类中的变量 infra.retry.support.RetryTemplateBuilder
- classifierBuilder() - 类中的方法 infra.retry.support.RetryTemplateBuilder
- ClassifierSupport<C,
T> - infra.classify中的类 -
Base class for
Classifier
implementations. - ClassifierSupport(T) - 类的构造器 infra.classify.ClassifierSupport
- classify(C) - 类中的方法 infra.classify.BackToBackPatternClassifier
-
Classify the input and map to a String, then take that and put it into a pattern matcher to match to an output value.
- classify(C) - 接口中的方法 infra.classify.Classifier
-
Classify the given object and return an object of a different type, possibly an enumerated type.
- classify(C) - 类中的方法 infra.classify.ClassifierAdapter
-
Classify the given object and return an object of a different type, possibly an enumerated type.
- classify(C) - 类中的方法 infra.classify.ClassifierSupport
-
Always returns the default value.
- classify(String) - 类中的方法 infra.classify.PatternMatchingClassifier
-
Classify the input by matching it against the patterns provided in
PatternMatchingClassifier.setPatternMap(Map)
. - classify(Throwable) - 类中的方法 infra.classify.BinaryExceptionClassifier
- classify(T) - 类中的方法 infra.classify.SubclassClassifier
-
Return the value from the type map whose key is the class of the given Throwable, or its nearest ancestor if a subclass.
- classLevelAnnotation(Method, Class<A>) - 类中的方法 infra.retry.annotation.AnnotationAwareRetryOperationsInterceptor
-
With a class level annotation, exclude @Recover methods.
- clear() - 类中的静态方法 infra.retry.support.RetrySynchronizationManager
-
Clear the current context at the end of a batch - should only be used by
RetryOperations
implementations. - cloneValues(ExponentialBackOffPolicy) - 类中的方法 infra.retry.backoff.ExponentialBackOffPolicy
- close(RetryContext) - 类中的方法 infra.retry.policy.BinaryExceptionClassifierRetryPolicy
- close(RetryContext) - 类中的方法 infra.retry.policy.CircuitBreakerRetryPolicy
- close(RetryContext) - 类中的方法 infra.retry.policy.CompositeRetryPolicy
-
Delegate to the policies that were in operation when the context was created.
- close(RetryContext) - 类中的方法 infra.retry.policy.ExceptionClassifierRetryPolicy
-
Delegate to the policy currently activated in the context.
- close(RetryContext) - 类中的方法 infra.retry.policy.ExceptionClassifierRetryPolicy.ExceptionClassifierRetryContext
- close(RetryContext) - 类中的方法 infra.retry.policy.MaxAttemptsRetryPolicy
- close(RetryContext) - 类中的方法 infra.retry.policy.NeverRetryPolicy
-
Do nothing.
- close(RetryContext) - 类中的方法 infra.retry.policy.SimpleRetryPolicy
- close(RetryContext) - 类中的方法 infra.retry.policy.TimeoutRetryPolicy
- close(RetryContext) - 接口中的方法 infra.retry.RetryPolicy
- close(RetryContext, RetryCallback<T, E>, Throwable) - 类中的方法 infra.retry.listener.MethodInvocationRetryListenerSupport
- close(RetryContext, RetryCallback<T, E>, Throwable) - 类中的方法 infra.retry.listener.RetryListenerSupport
- close(RetryContext, RetryCallback<T, E>, Throwable) - 接口中的方法 infra.retry.RetryListener
-
Called after the final attempt (successful or not).
- close(RetryContext, RetryCallback<T, E>, Throwable) - 类中的方法 infra.retry.stats.StatisticsListener
- close(RetryPolicy, RetryContext, RetryState, boolean) - 类中的方法 infra.retry.support.RetryTemplate
-
Clean up the cache if necessary and close the context provided (if the flag indicates that processing was successful).
- CLOSED - 接口中的静态变量 infra.retry.RetryContext
-
Retry context attribute that is non-null (and true) if the context has been closed.
- compareParameters(Object[], int, Class<?>[], boolean) - 类中的方法 infra.retry.annotation.RecoverAnnotationRecoveryHandler
- complete - 类中的变量 infra.retry.stats.ExponentialAverageRetryStatistics
- completeCount - 类中的变量 infra.retry.stats.DefaultRetryStatistics
- CompositeRetryContext(RetryContext, List<RetryContext>, RetryPolicy[]) - 类的构造器 infra.retry.policy.CompositeRetryPolicy.CompositeRetryContext
- CompositeRetryPolicy - infra.retry.policy中的类
-
A
RetryPolicy
that composes a list of other policies and delegates calls to them in order. - CompositeRetryPolicy() - 类的构造器 infra.retry.policy.CompositeRetryPolicy
- CompositeRetryPolicy.CompositeRetryContext - infra.retry.policy中的类
- computeDefaultKey(MethodInvocation) - 类中的方法 infra.retry.interceptor.StatefulRetryOperationsInterceptor
-
compute default key, sub-classes can override
- containsKey(Object) - 类中的方法 infra.retry.policy.MapRetryContextCache
- containsKey(Object) - 接口中的方法 infra.retry.policy.RetryContextCache
- containsKey(Object) - 类中的方法 infra.retry.policy.SoftReferenceMapRetryContextCache
- context - 类中的变量 infra.retry.policy.CircuitBreakerRetryPolicy.CircuitBreakerRetryContext
- context - 类中的变量 infra.retry.policy.ExceptionClassifierRetryPolicy.ExceptionClassifierRetryContext
- context - 类中的静态变量 infra.retry.support.RetrySynchronizationManager
- contexts - 类中的变量 infra.retry.policy.CompositeRetryPolicy.CompositeRetryContext
- contexts - 类中的变量 infra.retry.policy.ExceptionClassifierRetryPolicy.ExceptionClassifierRetryContext
- contexts - 类中的静态变量 infra.retry.support.RetrySynchronizationManager
- count - 类中的变量 infra.retry.context.RetryContextSupport
- create(String) - 类中的方法 infra.retry.stats.DefaultRetryStatisticsFactory
- create(String) - 接口中的方法 infra.retry.stats.RetryStatisticsFactory
- createDelegateContext(RetryPolicy, RetryContext) - 类中的方法 infra.retry.policy.CircuitBreakerRetryPolicy.CircuitBreakerRetryContext
- createKey(MethodInvocation) - 类中的方法 infra.retry.interceptor.StatefulRetryOperationsInterceptor
- createTemplate(String[]) - 类中的方法 infra.retry.annotation.AnnotationAwareRetryOperationsInterceptor
- customBackoff(BackOffPolicy) - 类中的方法 infra.retry.support.RetryTemplateBuilder
-
Use the provided
BackOffPolicy
. - customPolicy(RetryPolicy) - 类中的方法 infra.retry.support.RetryTemplateBuilder
-
Use the provided
RetryPolicy
.
D
- DEFAULT_BACK_OFF_MAX_PERIOD - 类中的静态变量 infra.retry.backoff.UniformRandomBackOffPolicy
-
Default max back off period - 1500ms.
- DEFAULT_BACK_OFF_MIN_PERIOD - 类中的静态变量 infra.retry.backoff.UniformRandomBackOffPolicy
-
Default min back off period - 500ms.
- DEFAULT_BACK_OFF_PERIOD - 类中的静态变量 infra.retry.backoff.FixedBackOffPolicy
-
Default back off period - 1000ms.
- DEFAULT_CAPACITY - 类中的静态变量 infra.retry.policy.MapRetryContextCache
-
Default value for maximum capacity of the cache.
- DEFAULT_CAPACITY - 类中的静态变量 infra.retry.policy.SoftReferenceMapRetryContextCache
-
Default value for maximum capacity of the cache.
- DEFAULT_INITIAL_DELAY - 类中的静态变量 infra.retry.backoff.BackOffPolicyBuilder
- DEFAULT_INITIAL_INTERVAL - 类中的静态变量 infra.retry.backoff.ExponentialBackOffPolicy
-
The default 'initialInterval' value - 100 millisecs.
- DEFAULT_MAX_ATTEMPTS - 类中的静态变量 infra.retry.policy.MaxAttemptsRetryPolicy
-
The default limit to the number of attempts for a new policy.
- DEFAULT_MAX_ATTEMPTS - 类中的静态变量 infra.retry.policy.SimpleRetryPolicy
-
The default limit to the number of attempts for a new policy.
- DEFAULT_MAX_INTERVAL - 类中的静态变量 infra.retry.backoff.ExponentialBackOffPolicy
-
The default maximum backoff time (30 seconds).
- DEFAULT_MULTIPLIER - 类中的静态变量 infra.retry.backoff.ExponentialBackOffPolicy
-
The default 'multiplier' value - value 2 (100% increase per backoff).
- DEFAULT_TIMEOUT - 类中的静态变量 infra.retry.policy.TimeoutRetryPolicy
-
Default value for timeout (milliseconds).
- defaultClassifier() - 类中的静态方法 infra.classify.BinaryExceptionClassifier
- defaultInstance() - 类中的静态方法 infra.retry.support.RetryTemplate
-
Creates a new default instance.
- DefaultRetryState - infra.retry.support中的类
- DefaultRetryState(Object) - 类的构造器 infra.retry.support.DefaultRetryState
-
Defaults the force refresh flag (to false) and the rollback classifier (to null).
- DefaultRetryState(Object, boolean) - 类的构造器 infra.retry.support.DefaultRetryState
-
Defaults the rollback classifier to null.
- DefaultRetryState(Object, boolean, Classifier<? super Throwable, Boolean>) - 类的构造器 infra.retry.support.DefaultRetryState
-
Create a
DefaultRetryState
representing the state for a new retry attempt. - DefaultRetryState(Object, Classifier<? super Throwable, Boolean>) - 类的构造器 infra.retry.support.DefaultRetryState
-
Defaults the force refresh flag to false.
- DefaultRetryStatistics - infra.retry.stats中的类
- DefaultRetryStatistics(String) - 类的构造器 infra.retry.stats.DefaultRetryStatistics
- DefaultRetryStatisticsFactory - infra.retry.stats中的类
- DefaultRetryStatisticsFactory() - 类的构造器 infra.retry.stats.DefaultRetryStatisticsFactory
- DefaultStatisticsRepository - infra.retry.stats中的类
- DefaultStatisticsRepository() - 类的构造器 infra.retry.stats.DefaultStatisticsRepository
- defaultValue - 类中的变量 infra.classify.ClassifierSupport
- defaultValue - 类中的变量 infra.classify.SubclassClassifier
- delay - 类中的变量 infra.retry.backoff.BackOffPolicyBuilder
- delay() - annotation interface 中的元素 infra.retry.annotation.Backoff
-
A canonical backoff period.
- delay(long) - 类中的方法 infra.retry.backoff.BackOffPolicyBuilder
-
A canonical backoff period.
- delayExpression() - annotation interface 中的元素 infra.retry.annotation.Backoff
-
An expression evaluating to the canonical backoff period.
- delaySupplier - 类中的变量 infra.retry.backoff.BackOffPolicyBuilder
- delaySupplier(Supplier<Long>) - 类中的方法 infra.retry.backoff.BackOffPolicyBuilder
-
Set a supplier for the delay.
- delegate - 类中的变量 infra.retry.policy.CircuitBreakerRetryPolicy
- delegates - 类中的变量 infra.retry.annotation.AnnotationAwareRetryOperationsInterceptor
- doBackOff() - 类中的方法 infra.retry.backoff.FixedBackOffPolicy
-
Pause for the
FixedBackOffPolicy.setBackOffPeriod(long)
. - doBackOff() - 类中的方法 infra.retry.backoff.NoBackOffPolicy
- doBackOff() - 类中的方法 infra.retry.backoff.StatelessBackOffPolicy
-
Sub-classes should implement this method to perform the actual back off.
- doBackOff() - 类中的方法 infra.retry.backoff.UniformRandomBackOffPolicy
-
Pause for the
UniformRandomBackOffPolicy.setMinBackOffPeriod(long)
. - doClose(RetryContext, MethodInvocationRetryCallback<T, E>, Throwable) - 类中的方法 infra.retry.listener.MethodInvocationRetryListenerSupport
-
Called after the final attempt (successful or not).
- doCloseInterceptors(RetryCallback<T, E>, RetryContext, Throwable) - 类中的方法 infra.retry.support.RetryTemplate
- doExecute(RetryCallback<T, E>, RecoveryCallback<T>, RetryState) - 类中的方法 infra.retry.support.RetryTemplate
-
Execute the callback once if the policy dictates that we can, otherwise execute the recovery callback.
- doOnError(RetryContext, MethodInvocationRetryCallback<T, E>, Throwable) - 类中的方法 infra.retry.listener.MethodInvocationRetryListenerSupport
-
Called after every unsuccessful attempt at a retry.
- doOnErrorInterceptors(RetryCallback<T, E>, RetryContext, Throwable) - 类中的方法 infra.retry.support.RetryTemplate
- doOnSuccess(RetryContext, MethodInvocationRetryCallback<T, E>, T) - 类中的方法 infra.retry.listener.MethodInvocationRetryListenerSupport
-
Called after a successful attempt; allow the listener to throw a new exception to cause a retry (according to the retry policy), based on the result returned by the
RetryCallback.doWithRetry(RetryContext)
- doOnSuccessInterceptors(RetryCallback<T, E>, RetryContext, T) - 类中的方法 infra.retry.support.RetryTemplate
- doOpen(RetryContext, MethodInvocationRetryCallback<T, E>) - 类中的方法 infra.retry.listener.MethodInvocationRetryListenerSupport
-
Called before the first attempt in a retry.
- doOpenInterceptors(RetryCallback<T, E>, RetryContext) - 类中的方法 infra.retry.support.RetryTemplate
- doOpenInternal(RetryPolicy) - 类中的方法 infra.retry.support.RetryTemplate
- doOpenInternal(RetryPolicy, RetryState) - 类中的方法 infra.retry.support.RetryTemplate
- doWithRetry(RetryContext) - 类中的方法 infra.retry.interceptor.StatefulRetryOperationsInterceptor.StatefulMethodInvocationRetryCallback
- doWithRetry(RetryContext) - 接口中的方法 infra.retry.RetryCallback
-
Execute an operation with retry semantics.
- doWithRetry(RetryContext) - 类中的方法 infra.retry.support.RetrySimulator.FailingRetryCallback
E
- enableRetry - 类中的变量 infra.retry.annotation.RetryConfiguration
- EnableRetry - infra.retry.annotation中的Annotation Interface
-
Global enabler for
@Retryable
annotations in Infra beans. - equals(Object) - 类中的方法 infra.classify.util.SimpleMethodInvoker
- equals(Object) - 类中的方法 infra.retry.annotation.RetryConfiguration.AnnotationClassOrMethodPointcut
- equals(Object) - record class中的方法 infra.retry.annotation.RetryConfiguration.AnnotationMethodsResolver
-
指示某个其他对象是否“等于”此对象。
- equals(Object) - record class中的方法 infra.retry.interceptor.RetryOperationsInterceptor.ItemRecovererCallback
-
指示某个其他对象是否“等于”此对象。
- equals(Object) - record class中的方法 infra.retry.interceptor.StatefulRetryOperationsInterceptor.ItemRecovererCallback
-
指示某个其他对象是否“等于”此对象。
- error - 类中的变量 infra.retry.stats.ExponentialAverageRetryStatistics
- errorCount - 类中的变量 infra.retry.stats.DefaultRetryStatistics
- evaluate(Expression, Class<T>, boolean) - 类中的方法 infra.retry.annotation.AnnotationAwareRetryOperationsInterceptor
- evaluationContext - 类中的变量 infra.retry.annotation.AnnotationAwareRetryOperationsInterceptor
- evaluationContext - 类中的变量 infra.retry.policy.ExpressionRetryPolicy
- exceptionClasses - 类中的变量 infra.classify.BinaryExceptionClassifierBuilder
- exceptionClassifier - 类中的变量 infra.retry.policy.BinaryExceptionClassifierRetryPolicy
- exceptionClassifier - 类中的变量 infra.retry.policy.ExceptionClassifierRetryPolicy
- exceptionClassifier - 类中的变量 infra.retry.policy.ExceptionClassifierRetryPolicy.ExceptionClassifierRetryContext
- ExceptionClassifierRetryContext(RetryContext, Classifier<Throwable, RetryPolicy>) - 类的构造器 infra.retry.policy.ExceptionClassifierRetryPolicy.ExceptionClassifierRetryContext
- ExceptionClassifierRetryPolicy - infra.retry.policy中的类
-
A
RetryPolicy
that dynamically adapts to one of a set of injected policies according to the value of the latest exception. - ExceptionClassifierRetryPolicy() - 类的构造器 infra.retry.policy.ExceptionClassifierRetryPolicy
- ExceptionClassifierRetryPolicy.ExceptionClassifierRetryContext - infra.retry.policy中的类
- exceptionExpression() - annotation interface 中的元素 infra.retry.annotation.CircuitBreaker
-
Specify an expression to be evaluated after the
SimpleRetryPolicy.canRetry()
returns true - can be used to conditionally suppress the retry. - exceptionExpression() - annotation interface 中的元素 infra.retry.annotation.Retryable
-
Specify an expression to be evaluated after the
SimpleRetryPolicy.canRetry()
returns true - can be used to conditionally suppress the retry. - execute(RetryCallback<T, E>) - 接口中的方法 infra.retry.RetryOperations
-
Execute the supplied
RetryCallback
with the configured retry semantics. - execute(RetryCallback<T, E>) - 类中的方法 infra.retry.support.RetryTemplate
-
Keep executing the callback until it either succeeds or the policy dictates that we stop, in which case the most recent exception thrown by the callback will be rethrown.
- execute(RetryCallback<T, E>, RecoveryCallback<T>) - 接口中的方法 infra.retry.RetryOperations
-
Execute the supplied
RetryCallback
with a fallback on exhausted retry to theRecoveryCallback
. - execute(RetryCallback<T, E>, RecoveryCallback<T>) - 类中的方法 infra.retry.support.RetryTemplate
-
Keep executing the callback until it either succeeds or the policy dictates that we stop, in which case the recovery callback will be executed.
- execute(RetryCallback<T, E>, RecoveryCallback<T>, RetryState) - 接口中的方法 infra.retry.RetryOperations
-
A stateful retry with a recovery path.
- execute(RetryCallback<T, E>, RecoveryCallback<T>, RetryState) - 类中的方法 infra.retry.support.RetryTemplate
-
Execute the callback once if the policy dictates that we can, re-throwing any exception encountered so that clients can re-present the same task later.
- execute(RetryCallback<T, E>, RetryState) - 接口中的方法 infra.retry.RetryOperations
-
A simple stateful retry.
- execute(RetryCallback<T, E>, RetryState) - 类中的方法 infra.retry.support.RetryTemplate
-
Execute the callback once if the policy dictates that we can, re-throwing any exception encountered so that clients can re-present the same task later.
- executeSimulation(int) - 类中的方法 infra.retry.support.RetrySimulator
-
Execute the simulator for a give # of iterations.
- executeSingleSimulation() - 类中的方法 infra.retry.support.RetrySimulator
-
Execute a single simulation
- EXHAUSTED - 接口中的静态变量 infra.retry.RetryContext
-
Retry context attribute that is non-null (and true) if the retry was exhausted.
- ExhaustedRetryException - infra.retry中的异常错误
- ExhaustedRetryException(String) - 异常错误的构造器 infra.retry.ExhaustedRetryException
- ExhaustedRetryException(String, Throwable) - 异常错误的构造器 infra.retry.ExhaustedRetryException
- ExponentialAverage(long) - 类的构造器 infra.retry.stats.ExponentialAverageRetryStatistics.ExponentialAverage
- ExponentialAverageRetryStatistics - infra.retry.stats中的类
- ExponentialAverageRetryStatistics(String) - 类的构造器 infra.retry.stats.ExponentialAverageRetryStatistics
- ExponentialAverageRetryStatistics.ExponentialAverage - infra.retry.stats中的类
- exponentialBackoff(long, double, long) - 类中的方法 infra.retry.support.RetryTemplateBuilder
-
Use an exponential backoff policy.
- exponentialBackoff(long, double, long, boolean) - 类中的方法 infra.retry.support.RetryTemplateBuilder
-
Use an exponential backoff policy.
- exponentialBackoff(Duration, double, Duration) - 类中的方法 infra.retry.support.RetryTemplateBuilder
-
Use an exponential backoff policy.
- exponentialBackoff(Duration, double, Duration, boolean) - 类中的方法 infra.retry.support.RetryTemplateBuilder
-
Use an exponential backoff policy.
- ExponentialBackOffContext(long, double, long, Supplier<Long>, Supplier<Double>, Supplier<Long>) - 类的构造器 infra.retry.backoff.ExponentialBackOffPolicy.ExponentialBackOffContext
- ExponentialBackOffPolicy - infra.retry.backoff中的类
-
Implementation of
BackOffPolicy
that increases the back off period for each retry attempt in a given set up to a limit. - ExponentialBackOffPolicy() - 类的构造器 infra.retry.backoff.ExponentialBackOffPolicy
- ExponentialBackOffPolicy.ExponentialBackOffContext - infra.retry.backoff中的类
- ExponentialRandomBackOffContext(long, double, long, Supplier<Long>, Supplier<Double>, Supplier<Long>) - 类的构造器 infra.retry.backoff.ExponentialRandomBackOffPolicy.ExponentialRandomBackOffContext
- ExponentialRandomBackOffPolicy - infra.retry.backoff中的类
-
Implementation of
ExponentialBackOffPolicy
that chooses a random multiple of the interval that would come from a simple deterministic exponential. - ExponentialRandomBackOffPolicy() - 类的构造器 infra.retry.backoff.ExponentialRandomBackOffPolicy
- ExponentialRandomBackOffPolicy.ExponentialRandomBackOffContext - infra.retry.backoff中的类
- expression - 类中的变量 infra.retry.policy.ExpressionRetryPolicy
- ExpressionRetryPolicy - infra.retry.policy中的类
-
Subclass of
SimpleRetryPolicy
that delegates to super.canRetry() and, if true, further evaluates an expression against the last thrown exception. - ExpressionRetryPolicy(int, Map<Class<? extends Throwable>, Boolean>, boolean, Expression) - 类的构造器 infra.retry.policy.ExpressionRetryPolicy
-
Construct an instance with the provided
Expression
. - ExpressionRetryPolicy(int, Map<Class<? extends Throwable>, Boolean>, boolean, String, boolean) - 类的构造器 infra.retry.policy.ExpressionRetryPolicy
-
Construct an instance with the provided expression.
- ExpressionRetryPolicy(Expression) - 类的构造器 infra.retry.policy.ExpressionRetryPolicy
-
Construct an instance with the provided
Expression
. - ExpressionRetryPolicy(String) - 类的构造器 infra.retry.policy.ExpressionRetryPolicy
-
Construct an instance with the provided expression.
- extractTarget(Object, Method) - 类中的方法 infra.classify.util.SimpleMethodInvoker
F
- factory - 类中的变量 infra.retry.stats.DefaultStatisticsRepository
- FailingRetryCallback() - 类的构造器 infra.retry.support.RetrySimulator.FailingRetryCallback
- FailingRetryException() - 异常错误的构造器 infra.retry.support.RetrySimulator.FailingRetryException
- findAll() - 类中的方法 infra.retry.stats.DefaultStatisticsRepository
- findAll() - 接口中的方法 infra.retry.stats.StatisticsRepository
- findAnnotationOnTarget(Object, Method) - 类中的方法 infra.retry.annotation.RecoverAnnotationRecoveryHandler
- findAnnotationOnTarget(Object, Method, Class<A>) - 类中的方法 infra.retry.annotation.AnnotationAwareRetryOperationsInterceptor
- findBean(Class<? extends T>) - 类中的方法 infra.retry.annotation.RetryConfiguration
- findBeans(Class<? extends T>) - 类中的方法 infra.retry.annotation.RetryConfiguration
- findClosestMatch(Object[], Class<? extends Throwable>) - 类中的方法 infra.retry.annotation.RecoverAnnotationRecoveryHandler
- findMethodOnProxy(Method, Object) - 类中的方法 infra.retry.annotation.RecoverAnnotationRecoveryHandler
- findOne(String) - 类中的方法 infra.retry.stats.DefaultStatisticsRepository
- findOne(String) - 接口中的方法 infra.retry.stats.StatisticsRepository
- finished - 类中的变量 infra.retry.policy.NeverRetryPolicy.NeverRetryContext
- fixedBackoff(long) - 类中的方法 infra.retry.support.RetryTemplateBuilder
-
Perform each retry after a fixed amount of time.
- fixedBackoff(Duration) - 类中的方法 infra.retry.support.RetryTemplateBuilder
-
Perform each retry after fixed amount of time.
- FixedBackOffPolicy - infra.retry.backoff中的类
-
Implementation of
BackOffPolicy
that pauses for a fixed period of time before continuing. - FixedBackOffPolicy() - 类的构造器 infra.retry.backoff.FixedBackOffPolicy
- FixedKeyGenerator - infra.retry.interceptor中的类
- FixedKeyGenerator(String) - 类的构造器 infra.retry.interceptor.FixedKeyGenerator
- forAnnotation(Class<? extends Annotation>, Object) - 接口中的静态方法 infra.classify.util.MethodInvoker
-
Create
MethodInvoker
for the method with the provided annotation on the provided object. - forceRefresh - 类中的变量 infra.retry.support.DefaultRetryState
- forSingleArgument(Object) - 接口中的静态方法 infra.classify.util.MethodInvoker
-
Create a
MethodInvoker
for the delegate from a single public method.
G
- get(Object) - 类中的方法 infra.retry.policy.MapRetryContextCache
- get(Object) - 接口中的方法 infra.retry.policy.RetryContextCache
- get(Object) - 类中的方法 infra.retry.policy.SoftReferenceMapRetryContextCache
- getAbortCount() - 接口中的方法 infra.retry.RetryStatistics
-
Get the number of times a block failed to complete successfully, even after retry.
- getAbortCount() - 类中的方法 infra.retry.stats.DefaultRetryStatistics
- getAdvice() - 类中的方法 infra.retry.annotation.RetryConfiguration
- getArgs() - 类中的方法 infra.retry.support.Args
- getArgs(Throwable, Object[]) - 类中的方法 infra.retry.annotation.RecoverAnnotationRecoveryHandler.RecoverMetadata
- getBackOffPeriod() - 类中的方法 infra.retry.backoff.FixedBackOffPolicy
-
The backoff period in milliseconds.
- getBackoffPolicy(Backoff, boolean) - 类中的方法 infra.retry.annotation.AnnotationAwareRetryOperationsInterceptor
- getClassFilter() - 类中的方法 infra.retry.annotation.RetryConfiguration
- getClassified() - 类中的方法 infra.classify.SubclassClassifier
- getCompleteCount() - 接口中的方法 infra.retry.RetryStatistics
- getCompleteCount() - 类中的方法 infra.retry.stats.DefaultRetryStatistics
- getContext() - 类中的静态方法 infra.retry.support.RetrySynchronizationManager
-
Public accessor for the locally enclosing
RetryContext
. - getContext(RetryPolicy, RetryContext) - 类中的方法 infra.retry.policy.ExceptionClassifierRetryPolicy.ExceptionClassifierRetryContext
- getDefault() - 类中的方法 infra.classify.SubclassClassifier
-
Return the default value supplied in the constructor (default false).
- getDelegate(Object, Method) - 类中的方法 infra.retry.annotation.AnnotationAwareRetryOperationsInterceptor
- getErrorCount() - 接口中的方法 infra.retry.RetryStatistics
-
Get the number of errors detected, whether or not they resulted in a retry.
- getErrorCount() - 类中的方法 infra.retry.stats.DefaultRetryStatistics
- getExceptionClassifier() - 类中的方法 infra.retry.policy.BinaryExceptionClassifierRetryPolicy
- getExpression(String) - 类中的静态方法 infra.retry.policy.ExpressionRetryPolicy
-
Get expression based on the expression string.
- getInitialInterval() - 类中的方法 infra.retry.backoff.ExponentialBackOffPolicy
-
The initial period to sleep on the first backoff.
- getInitialIntervalSupplier() - 类中的方法 infra.retry.backoff.ExponentialBackOffPolicy
- getInterfaces() - 类中的方法 infra.retry.annotation.RetryConfiguration
- getInterval() - 类中的方法 infra.retry.backoff.ExponentialBackOffPolicy.ExponentialBackOffContext
- getInvocation() - 类中的方法 infra.retry.interceptor.MethodInvocationRetryCallback
- getKey() - 接口中的方法 infra.retry.RetryState
-
Key representing the state for a retry attempt.
- getKey() - 类中的方法 infra.retry.support.DefaultRetryState
- getKey(Object[]) - 类中的方法 infra.retry.interceptor.FixedKeyGenerator
- getKey(Object[]) - 接口中的方法 infra.retry.interceptor.MethodArgumentsKeyGenerator
-
Get a unique identifier for the item that can be used to cache it between calls if necessary, and then identify it later.
- getLabel() - 类中的方法 infra.retry.interceptor.MethodInvocationRetryCallback
- getLastThrowable() - 类中的方法 infra.retry.context.RetryContextSupport
- getLastThrowable() - 接口中的方法 infra.retry.RetryContext
-
Accessor for the exception object that caused the current retry.
- getListenersBeans(String[]) - 类中的方法 infra.retry.annotation.AnnotationAwareRetryOperationsInterceptor
- getLongestSleep() - 类中的方法 infra.retry.support.RetrySimulation.SleepSequence
- getLongestTotalSleepSequence() - 类中的方法 infra.retry.support.RetrySimulation
- getMaxAttempts() - 类中的方法 infra.retry.policy.CompositeRetryPolicy
- getMaxAttempts() - 类中的方法 infra.retry.policy.MaxAttemptsRetryPolicy
-
The maximum number of attempts before failure.
- getMaxAttempts() - 类中的方法 infra.retry.policy.SimpleRetryPolicy
-
The maximum number of attempts before failure.
- getMaxAttempts() - 接口中的方法 infra.retry.RetryPolicy
-
Called to understand if the policy has a fixed number of maximum attempts before failure
- getMaxBackOffPeriod() - 类中的方法 infra.retry.backoff.UniformRandomBackOffPolicy
-
The maximum backoff period in milliseconds.
- getMaxInterval() - 类中的方法 infra.retry.backoff.ExponentialBackOffPolicy.ExponentialBackOffContext
- getMaxInterval() - 类中的方法 infra.retry.backoff.ExponentialBackOffPolicy
-
The maximum interval to sleep for.
- getMaxIntervalSupplier() - 类中的方法 infra.retry.backoff.ExponentialBackOffPolicy
- getMinBackOffPeriod() - 类中的方法 infra.retry.backoff.UniformRandomBackOffPolicy
-
The minimum backoff period in milliseconds.
- getMultiplier() - 类中的方法 infra.retry.backoff.ExponentialBackOffPolicy.ExponentialBackOffContext
- getMultiplier() - 类中的方法 infra.retry.backoff.ExponentialBackOffPolicy
-
The multiplier to use to generate the next backoff interval from the last.
- getMultiplierSupplier() - 类中的方法 infra.retry.backoff.ExponentialBackOffPolicy
- getName() - 接口中的方法 infra.retry.RetryStatistics
-
Get an identifier for the retry block for reporting purposes.
- getName() - 类中的方法 infra.retry.stats.DefaultRetryStatistics
- getName(RetryContext) - 类中的方法 infra.retry.stats.StatisticsListener
- getNextInterval() - 类中的方法 infra.retry.backoff.ExponentialBackOffPolicy.ExponentialBackOffContext
- getParent() - 类中的方法 infra.retry.context.RetryContextSupport
- getParent() - 接口中的方法 infra.retry.RetryContext
-
Accessor for the parent context if retry blocks are nested.
- getPercentile(double) - 类中的方法 infra.retry.support.RetrySimulation
- getPercentiles() - 类中的方法 infra.retry.support.RetrySimulation
- getPointcut() - 类中的方法 infra.retry.annotation.RetryConfiguration
- getRecoverer(Object, Method) - 类中的方法 infra.retry.annotation.AnnotationAwareRetryOperationsInterceptor
- getRecoveryCount() - 接口中的方法 infra.retry.RetryStatistics
-
Get the number of times a recovery callback was applied.
- getRecoveryCount() - 类中的方法 infra.retry.stats.DefaultRetryStatistics
- getRetryCount() - 类中的方法 infra.retry.context.RetryContextSupport
- getRetryCount() - 类中的方法 infra.retry.policy.CircuitBreakerRetryPolicy.CircuitBreakerRetryContext
- getRetryCount() - 接口中的方法 infra.retry.RetryContext
-
Counts the number of retry attempts.
- getRetryPolicy(Annotation, boolean) - 类中的方法 infra.retry.annotation.AnnotationAwareRetryOperationsInterceptor
- getRollingAbortCount() - 类中的方法 infra.retry.stats.ExponentialAverageRetryStatistics
- getRollingCompleteCount() - 类中的方法 infra.retry.stats.ExponentialAverageRetryStatistics
- getRollingErrorCount() - 类中的方法 infra.retry.stats.ExponentialAverageRetryStatistics
- getRollingErrorRate() - 类中的方法 infra.retry.stats.ExponentialAverageRetryStatistics
- getRollingRecoveryCount() - 类中的方法 infra.retry.stats.ExponentialAverageRetryStatistics
- getRollingStartedCount() - 类中的方法 infra.retry.stats.ExponentialAverageRetryStatistics
- getSleepAndIncrement() - 类中的方法 infra.retry.backoff.ExponentialBackOffPolicy.ExponentialBackOffContext
- getSleepAndIncrement() - 类中的方法 infra.retry.backoff.ExponentialRandomBackOffPolicy.ExponentialRandomBackOffContext
- getSleeps() - 类中的方法 infra.retry.support.RetrySimulation.SleepSequence
- getSleeps() - 类中的方法 infra.retry.support.RetrySimulator.StealingSleeper
- getStartedCount() - 接口中的方法 infra.retry.RetryStatistics
-
Get the number of times a retry block has been entered, irrespective of how many times the operation was retried.
- getStartedCount() - 类中的方法 infra.retry.stats.DefaultRetryStatistics
- getStatefulInterceptor(Object, Method, Retryable) - 类中的方法 infra.retry.annotation.AnnotationAwareRetryOperationsInterceptor
- getStatelessInterceptor(Object, Method, Retryable) - 类中的方法 infra.retry.annotation.AnnotationAwareRetryOperationsInterceptor
- getStatistics(String) - 类中的方法 infra.retry.stats.DefaultStatisticsRepository
- getTimeout() - 类中的方法 infra.retry.policy.TimeoutRetryPolicy
-
The value of the timeout.
- getTotalSleep() - 类中的方法 infra.retry.support.RetrySimulation.SleepSequence
- getValue() - 类中的方法 infra.retry.stats.ExponentialAverageRetryStatistics.ExponentialAverage
- GLOBAL_STATE - 类中的静态变量 infra.retry.support.RetryTemplate
-
Retry context attribute name that indicates the context should be considered global state (never closed).
- globalListeners - 类中的变量 infra.retry.annotation.AnnotationAwareRetryOperationsInterceptor
H
- handleRetryExhausted(RecoveryCallback<T>, RetryContext, RetryState) - 类中的方法 infra.retry.support.RetryTemplate
-
Actions to take after final attempt has failed.
- hasAnnotatedMethods(Class<?>) - record class中的方法 infra.retry.annotation.RetryConfiguration.AnnotationMethodsResolver
- hashCode() - 类中的方法 infra.classify.util.SimpleMethodInvoker
- hashCode() - 类中的方法 infra.retry.annotation.RetryConfiguration.AnnotationClassOrMethodPointcut
- hashCode() - record class中的方法 infra.retry.annotation.RetryConfiguration.AnnotationMethodsResolver
-
返回此对象的哈希代码值。
- hashCode() - record class中的方法 infra.retry.interceptor.RetryOperationsInterceptor.ItemRecovererCallback
-
返回此对象的哈希代码值。
- hashCode() - record class中的方法 infra.retry.interceptor.StatefulRetryOperationsInterceptor.ItemRecovererCallback
-
返回此对象的哈希代码值。
- hasListeners() - 类中的方法 infra.retry.support.RetryTemplate
-
Return true if at least one listener is registered.
- hasState(RetryContext) - 类中的方法 infra.retry.stats.StatisticsListener
I
- implementsInterface(Class<?>) - 类中的方法 infra.retry.annotation.AnnotationAwareRetryOperationsInterceptor
- increment() - 类中的方法 infra.retry.stats.ExponentialAverageRetryStatistics.ExponentialAverage
- incrementAbortCount() - 类中的方法 infra.retry.stats.DefaultRetryStatistics
- incrementAbortCount() - 类中的方法 infra.retry.stats.ExponentialAverageRetryStatistics
- incrementAbortCount() - 接口中的方法 infra.retry.stats.MutableRetryStatistics
- incrementCompleteCount() - 类中的方法 infra.retry.stats.DefaultRetryStatistics
- incrementCompleteCount() - 类中的方法 infra.retry.stats.ExponentialAverageRetryStatistics
- incrementCompleteCount() - 接口中的方法 infra.retry.stats.MutableRetryStatistics
- incrementErrorCount() - 类中的方法 infra.retry.stats.DefaultRetryStatistics
- incrementErrorCount() - 类中的方法 infra.retry.stats.ExponentialAverageRetryStatistics
- incrementErrorCount() - 接口中的方法 infra.retry.stats.MutableRetryStatistics
- incrementRecoveryCount() - 类中的方法 infra.retry.stats.DefaultRetryStatistics
- incrementRecoveryCount() - 类中的方法 infra.retry.stats.ExponentialAverageRetryStatistics
- incrementRecoveryCount() - 接口中的方法 infra.retry.stats.MutableRetryStatistics
- incrementShortCircuitCount() - 类中的方法 infra.retry.policy.CircuitBreakerRetryPolicy.CircuitBreakerRetryContext
- incrementStartedCount() - 类中的方法 infra.retry.stats.DefaultRetryStatistics
- incrementStartedCount() - 类中的方法 infra.retry.stats.ExponentialAverageRetryStatistics
- incrementStartedCount() - 接口中的方法 infra.retry.stats.MutableRetryStatistics
- infiniteRetry() - 类中的方法 infra.retry.support.RetryTemplateBuilder
-
Retry actions infinitely.
- infra.classify - 程序包 infra.classify
- infra.classify.annotation - 程序包 infra.classify.annotation
- infra.classify.util - 程序包 infra.classify.util
- infra.retry - 程序包 infra.retry
-
Infrastructure implementations of retry concerns.
- infra.retry.annotation - 程序包 infra.retry.annotation
- infra.retry.backoff - 程序包 infra.retry.backoff
- infra.retry.context - 程序包 infra.retry.context
- infra.retry.interceptor - 程序包 infra.retry.interceptor
- infra.retry.listener - 程序包 infra.retry.listener
- infra.retry.policy - 程序包 infra.retry.policy
- infra.retry.stats - 程序包 infra.retry.stats
- infra.retry.support - 程序包 infra.retry.support
- init() - 类中的方法 infra.retry.stats.ExponentialAverageRetryStatistics
- initialInterval - 类中的变量 infra.retry.backoff.ExponentialBackOffPolicy
-
The initial backoff interval.
- initialIntervalSupplier - 类中的变量 infra.retry.backoff.ExponentialBackOffPolicy.ExponentialBackOffContext
- initialIntervalSupplier - 类中的变量 infra.retry.backoff.ExponentialBackOffPolicy
-
The initial backoff interval.
- initialIntervalSupplier(Supplier<Long>) - 类中的方法 infra.retry.backoff.ExponentialBackOffPolicy
-
Set the initial sleep interval value.
- interceptor - 类中的变量 infra.retry.interceptor.RetryInterceptorBuilder.CircuitBreakerInterceptorBuilder
- interceptor - 类中的变量 infra.retry.interceptor.RetryInterceptorBuilder.StatefulRetryInterceptorBuilder
- interceptor - 类中的变量 infra.retry.interceptor.RetryInterceptorBuilder.StatelessRetryInterceptorBuilder
- interceptor() - annotation interface 中的元素 infra.retry.annotation.Retryable
-
Retry interceptor bean name to be applied for retryable method.
- interval - 类中的变量 infra.retry.backoff.ExponentialBackOffPolicy.ExponentialBackOffContext
- invocation - 类中的变量 infra.retry.interceptor.MethodInvocationRetryCallback
- invoke(MethodInvocation) - 类中的方法 infra.retry.annotation.AnnotationAwareRetryOperationsInterceptor
- invoke(MethodInvocation) - 类中的方法 infra.retry.interceptor.RetryOperationsInterceptor
- invoke(MethodInvocation) - 类中的方法 infra.retry.interceptor.StatefulRetryOperationsInterceptor
-
Wrap the method invocation in a stateful retry with the policy and other helpers provided.
- invokeMethod(Object...) - 接口中的方法 infra.classify.util.MethodInvoker
- invokeMethod(Object...) - 类中的方法 infra.classify.util.SimpleMethodInvoker
- invoker - 类中的变量 infra.classify.ClassifierAdapter
- isAlive() - 类中的方法 infra.retry.policy.TimeoutRetryPolicy.TimeoutRetryContext
- isAssignable(Class<? extends Throwable>) - 类中的方法 infra.retry.annotation.RecoverAnnotationRecoveryHandler.RecoverMetadata
- isClosed(RetryContext) - 类中的方法 infra.retry.stats.StatisticsListener
- isExhausted(RetryContext) - 类中的方法 infra.retry.stats.StatisticsListener
- isExhaustedOnly() - 类中的方法 infra.retry.context.RetryContextSupport
- isExhaustedOnly() - 接口中的方法 infra.retry.RetryContext
-
Public accessor for the exhausted flag
RetryContext.setExhaustedOnly()
. - isFinished() - 类中的方法 infra.retry.policy.NeverRetryPolicy.NeverRetryContext
- isForceRefresh() - 接口中的方法 infra.retry.RetryState
-
Indicate whether a cache lookup can be avoided.
- isForceRefresh() - 类中的方法 infra.retry.support.DefaultRetryState
- isGlobal(RetryContext) - 类中的方法 infra.retry.stats.StatisticsListener
- isNew(Object[]) - 接口中的方法 infra.retry.interceptor.NewMethodArgumentsIdentifier
-
Inspect the arguments and determine if they have never been processed before.
- isOpen() - 类中的方法 infra.retry.policy.CircuitBreakerRetryPolicy.CircuitBreakerRetryContext
- isParameterizedTypeAssignable(ParameterizedType, ParameterizedType) - 类中的静态方法 infra.retry.annotation.RecoverAnnotationRecoveryHandler
-
Returns
true
if the input methodReturnType is a direct match of the failingMethodReturnType. - isRecovered(RetryContext) - 类中的方法 infra.retry.stats.StatisticsListener
- isTemplate(String) - 类中的方法 infra.retry.annotation.AnnotationAwareRetryOperationsInterceptor
- isTemplate(String) - 类中的静态方法 infra.retry.policy.ExpressionRetryPolicy
-
Check if the expression is a template
- isUseThreadLocal() - 类中的静态方法 infra.retry.support.RetrySynchronizationManager
-
Return true if contexts are held in a ThreadLocal (default) rather than a Map.
- isWhiteList - 类中的变量 infra.classify.BinaryExceptionClassifierBuilder
-
Building notation type (white list or black list) - null: has not selected yet - true: white list - false: black list
- ItemRecovererCallback(Object[], MethodInvocationRecoverer<?>) - record class的构造器 infra.retry.interceptor.RetryOperationsInterceptor.ItemRecovererCallback
-
创建
ItemRecovererCallback
记录的实例。 - ItemRecovererCallback(Object[], MethodInvocationRecoverer<?>) - record class的构造器 infra.retry.interceptor.StatefulRetryOperationsInterceptor.ItemRecovererCallback
-
创建
ItemRecovererCallback
记录的实例。
K
- key - 类中的变量 infra.retry.support.DefaultRetryState
- keyGenerator - 类中的变量 infra.retry.interceptor.RetryInterceptorBuilder.CircuitBreakerInterceptorBuilder
- keyGenerator - 类中的变量 infra.retry.interceptor.RetryInterceptorBuilder.StatefulRetryInterceptorBuilder
- keyGenerator - 类中的变量 infra.retry.interceptor.StatefulRetryOperationsInterceptor
- keyGenerator(MethodArgumentsKeyGenerator) - 类中的方法 infra.retry.interceptor.RetryInterceptorBuilder.CircuitBreakerInterceptorBuilder
- keyGenerator(MethodArgumentsKeyGenerator) - 类中的方法 infra.retry.interceptor.RetryInterceptorBuilder.StatefulRetryInterceptorBuilder
-
Stateful retry requires items to be identifiable.
L
- label - 类中的变量 infra.retry.interceptor.FixedKeyGenerator
- label - 类中的变量 infra.retry.interceptor.MethodInvocationRetryCallback
- label - 类中的变量 infra.retry.interceptor.RetryInterceptorBuilder
- label - 类中的变量 infra.retry.interceptor.RetryOperationsInterceptor
- label - 类中的变量 infra.retry.interceptor.StatefulRetryOperationsInterceptor
- label() - annotation interface 中的元素 infra.retry.annotation.CircuitBreaker
-
A unique label for the circuit for reporting and state management.
- label() - annotation interface 中的元素 infra.retry.annotation.Retryable
-
A unique label for statistics reporting.
- label(String) - 类中的方法 infra.retry.interceptor.RetryInterceptorBuilder
- lastException - 类中的变量 infra.retry.context.RetryContextSupport
- lastTime - 类中的变量 infra.retry.stats.ExponentialAverageRetryStatistics.ExponentialAverage
- listeners - 类中的变量 infra.retry.support.RetryTemplate
- listeners - 类中的变量 infra.retry.support.RetryTemplateBuilder
- listeners() - annotation interface 中的元素 infra.retry.annotation.Retryable
-
Bean names of retry listeners to use instead of default ones defined in Spring context.
- listenersList() - 类中的方法 infra.retry.support.RetryTemplateBuilder
- log - 类中的静态变量 infra.retry.interceptor.StatefulRetryOperationsInterceptor
- log - 类中的静态变量 infra.retry.policy.CircuitBreakerRetryPolicy
- logger - 类中的变量 infra.retry.backoff.ExponentialBackOffPolicy
- logger - 类中的静态变量 infra.retry.policy.ExpressionRetryPolicy
- logger - 类中的变量 infra.retry.support.RetryTemplate
- longestSleep - 类中的变量 infra.retry.support.RetrySimulation.SleepSequence
M
- map - 类中的变量 infra.classify.PatternMatcher
- map - 类中的变量 infra.retry.policy.MapRetryContextCache
- map - 类中的变量 infra.retry.policy.SoftReferenceMapRetryContextCache
- map - 类中的变量 infra.retry.stats.DefaultStatisticsRepository
- MapRetryContextCache - infra.retry.policy中的类
-
Map-based implementation of
RetryContextCache
. - MapRetryContextCache() - 类的构造器 infra.retry.policy.MapRetryContextCache
-
Create a
MapRetryContextCache
with default capacity. - MapRetryContextCache(int) - 类的构造器 infra.retry.policy.MapRetryContextCache
- match(String) - 类中的方法 infra.classify.PatternMatcher
-
This method takes a String key and a map from Strings to values of any type.
- match(String, String) - 类中的静态方法 infra.classify.PatternMatcher
-
Lifted from AntPathMatcher in Infra Core.
- matcher - 类中的变量 infra.classify.BackToBackPatternClassifier
- matches(Class<?>) - 类中的方法 infra.retry.annotation.RetryConfiguration.AnnotationClassOrMethodFilter
- matches(Method, Class<?>) - 类中的方法 infra.retry.annotation.RetryConfiguration.AnnotationClassOrMethodPointcut
- MAX_ATTEMPTS - 接口中的静态变量 infra.retry.RetryContext
-
Retry context attribute that represent the maximum number of attempts for policies that provide a maximum number of attempts before failure.
- maxAttempts - 类中的变量 infra.retry.policy.MaxAttemptsRetryPolicy
- maxAttempts - 类中的变量 infra.retry.policy.SimpleRetryPolicy
- maxAttempts() - annotation interface 中的元素 infra.retry.annotation.CircuitBreaker
- maxAttempts() - annotation interface 中的元素 infra.retry.annotation.Retryable
- maxAttempts(int) - 类中的方法 infra.retry.interceptor.RetryInterceptorBuilder.CircuitBreakerInterceptorBuilder
- maxAttempts(int) - 类中的方法 infra.retry.interceptor.RetryInterceptorBuilder
-
Apply the max attempts - a SimpleRetryPolicy will be used.
- maxAttempts(int) - 类中的方法 infra.retry.interceptor.RetryInterceptorBuilder.StatefulRetryInterceptorBuilder
- maxAttempts(int) - 类中的方法 infra.retry.support.RetryTemplateBuilder
-
Attempt an action no more than
maxAttempts
times. - maxAttemptsExpression() - annotation interface 中的元素 infra.retry.annotation.CircuitBreaker
- maxAttemptsExpression() - annotation interface 中的元素 infra.retry.annotation.Retryable
- MaxAttemptsRetryPolicy - infra.retry.policy中的类
-
Simple retry policy that is aware only about attempt count and retries a fixed number of times.
- MaxAttemptsRetryPolicy() - 类的构造器 infra.retry.policy.MaxAttemptsRetryPolicy
-
Create a
MaxAttemptsRetryPolicy
with the default number of retry attempts (3), retrying all throwables. - MaxAttemptsRetryPolicy(int) - 类的构造器 infra.retry.policy.MaxAttemptsRetryPolicy
-
Create a
MaxAttemptsRetryPolicy
with the specified number of retry attempts, retrying all throwables. - maxAttemptsSupplier - 类中的变量 infra.retry.policy.SimpleRetryPolicy
- maxAttemptsSupplier(Supplier<Integer>) - 类中的方法 infra.retry.policy.SimpleRetryPolicy
-
Set a supplier for the number of attempts before retries are exhausted.
- maxBackOffPeriod - 类中的变量 infra.retry.backoff.UniformRandomBackOffPolicy
- maxBackOffPeriodSupplier(Supplier<Long>) - 类中的方法 infra.retry.backoff.UniformRandomBackOffPolicy
-
Set a supplier for the maximum back off period in milliseconds.
- maxDelay - 类中的变量 infra.retry.backoff.BackOffPolicyBuilder
- maxDelay() - annotation interface 中的元素 infra.retry.annotation.Backoff
-
The maximum wait (in milliseconds) between retries.
- maxDelay(long) - 类中的方法 infra.retry.backoff.BackOffPolicyBuilder
-
The maximum wait in milliseconds between retries.
- maxDelayExpression() - annotation interface 中的元素 infra.retry.annotation.Backoff
-
An expression evaluating to the maximum wait (in milliseconds) between retries.
- maxDelaySupplier - 类中的变量 infra.retry.backoff.BackOffPolicyBuilder
- maxDelaySupplier(Supplier<Long>) - 类中的方法 infra.retry.backoff.BackOffPolicyBuilder
-
Set a supplier for the max delay.
- maxInterval - 类中的变量 infra.retry.backoff.ExponentialBackOffPolicy.ExponentialBackOffContext
- maxInterval - 类中的变量 infra.retry.backoff.ExponentialBackOffPolicy
-
The maximum value of the backoff period in milliseconds.
- maxIntervalSupplier - 类中的变量 infra.retry.backoff.ExponentialBackOffPolicy.ExponentialBackOffContext
- maxIntervalSupplier - 类中的变量 infra.retry.backoff.ExponentialBackOffPolicy
-
The maximum value of the backoff period in milliseconds.
- maxIntervalSupplier(Supplier<Long>) - 类中的方法 infra.retry.backoff.ExponentialBackOffPolicy
-
Setter for maximum back off period.
- method - 类中的变量 infra.classify.util.SimpleMethodInvoker
- methodArgumentsKeyGenerator - 类中的变量 infra.retry.annotation.AnnotationAwareRetryOperationsInterceptor
- methodArgumentsKeyGenerator - 类中的变量 infra.retry.annotation.RetryConfiguration
- MethodArgumentsKeyGenerator - infra.retry.interceptor中的接口
-
Interface that allows method parameters to be identified and tagged by a unique key.
- MethodInvocationRecoverer<T> - infra.retry.interceptor中的接口
-
Strategy interface for recovery action when processing of an item fails.
- MethodInvocationRetryCallback<T,
E extends Throwable> - infra.retry.interceptor中的类 -
Callback class for a Infra AOP reflective `MethodInvocation` that can be retried using a
RetryOperations
. - MethodInvocationRetryCallback(MethodInvocation, String) - 类的构造器 infra.retry.interceptor.MethodInvocationRetryCallback
-
Constructor for the class.
- MethodInvocationRetryListenerSupport - infra.retry.listener中的类
-
Empty method implementation of
RetryListener
with focus on the AOP reflective method invocations providing convenience retry listener type-safe (with a `MethodInvocationRetryCallback` callback parameter) specific methods. - MethodInvocationRetryListenerSupport() - 类的构造器 infra.retry.listener.MethodInvocationRetryListenerSupport
- MethodInvoker - infra.classify.util中的接口
-
A strategy interface for invoking a method.
- methodResolver - 类中的变量 infra.retry.annotation.RetryConfiguration.AnnotationClassOrMethodFilter
- methodResolver - 类中的变量 infra.retry.annotation.RetryConfiguration.AnnotationClassOrMethodPointcut
- minBackOffPeriod - 类中的变量 infra.retry.backoff.UniformRandomBackOffPolicy
- minBackOffPeriodSupplier(Supplier<Long>) - 类中的方法 infra.retry.backoff.UniformRandomBackOffPolicy
-
Set a supplier for the minimum back off period in milliseconds.
- multiplier - 类中的变量 infra.retry.backoff.BackOffPolicyBuilder
- multiplier - 类中的变量 infra.retry.backoff.ExponentialBackOffPolicy.ExponentialBackOffContext
- multiplier - 类中的变量 infra.retry.backoff.ExponentialBackOffPolicy
-
The value to add to the backoff period for each retry attempt.
- multiplier() - annotation interface 中的元素 infra.retry.annotation.Backoff
-
If positive, then used as a multiplier for generating the next delay for backoff.
- multiplier(double) - 类中的方法 infra.retry.backoff.BackOffPolicyBuilder
-
If positive, then used as a multiplier for generating the next delay for backoff.
- multiplierExpression() - annotation interface 中的元素 infra.retry.annotation.Backoff
-
Evaluates to a value used as a multiplier for generating the next delay for backoff.
- multiplierSupplier - 类中的变量 infra.retry.backoff.BackOffPolicyBuilder
- multiplierSupplier - 类中的变量 infra.retry.backoff.ExponentialBackOffPolicy.ExponentialBackOffContext
- multiplierSupplier - 类中的变量 infra.retry.backoff.ExponentialBackOffPolicy
-
The value to add to the backoff period for each retry attempt.
- multiplierSupplier(Supplier<Double>) - 类中的方法 infra.retry.backoff.BackOffPolicyBuilder
-
Set a supplier for the multiplier.
- multiplierSupplier(Supplier<Double>) - 类中的方法 infra.retry.backoff.ExponentialBackOffPolicy
-
Set the multiplier value.
- MutableRetryStatistics - infra.retry.stats中的接口
N
- name - 类中的变量 infra.retry.stats.DefaultRetryStatistics
- NAME - 接口中的静态变量 infra.retry.RetryContext
-
Retry context attribute name for reporting key.
- NeverRetryContext(RetryContext) - 类的构造器 infra.retry.policy.NeverRetryPolicy.NeverRetryContext
- NeverRetryPolicy - infra.retry.policy中的类
-
A
RetryPolicy
that allows the first attempt but never permits a retry. - NeverRetryPolicy() - 类的构造器 infra.retry.policy.NeverRetryPolicy
- NeverRetryPolicy.NeverRetryContext - infra.retry.policy中的类
-
Special context object for
NeverRetryPolicy
. - newBuilder() - 类中的静态方法 infra.retry.backoff.BackOffPolicyBuilder
-
Creates a new
BackOffPolicyBuilder
instance. - newDefaultPolicy() - 类中的静态方法 infra.retry.backoff.BackOffPolicyBuilder
-
Creates a new
FixedBackOffPolicy
instance with a delay of 1000ms. - newInstance() - 类中的方法 infra.retry.backoff.ExponentialBackOffPolicy
- newInstance() - 类中的方法 infra.retry.backoff.ExponentialRandomBackOffPolicy
- newMethodArgumentsIdentifier - 类中的变量 infra.retry.annotation.AnnotationAwareRetryOperationsInterceptor
- newMethodArgumentsIdentifier - 类中的变量 infra.retry.annotation.RetryConfiguration
- newMethodArgumentsIdentifier - 类中的变量 infra.retry.interceptor.RetryInterceptorBuilder.StatefulRetryInterceptorBuilder
- newMethodArgumentsIdentifier - 类中的变量 infra.retry.interceptor.StatefulRetryOperationsInterceptor
- newMethodArgumentsIdentifier(NewMethodArgumentsIdentifier) - 类中的方法 infra.retry.interceptor.RetryInterceptorBuilder.StatefulRetryInterceptorBuilder
-
Apply a custom new item identifier.
- NewMethodArgumentsIdentifier - infra.retry.interceptor中的接口
-
Strategy interface to distinguish new arguments from ones that have been processed before, e.g. by examining a message flag.
- NO_ARGS - 类中的静态变量 infra.retry.support.Args
-
An empty
Args
with 100 null arguments. - NO_MAXIMUM_ATTEMPTS_SET - 接口中的静态变量 infra.retry.RetryPolicy
-
The value returned by
RetryPolicy.getMaxAttempts()
when the policy doesn't provide a maximum number of attempts before failure - NO_RECOVERY - 接口中的静态变量 infra.retry.RetryContext
-
Retry context attribute that is non-null (and true) if the exception is not recoverable.
- noBackoff() - 类中的方法 infra.retry.support.RetryTemplateBuilder
-
Retry immediately without pausing between attempts.
- NoBackOffPolicy - infra.retry.backoff中的类
-
Implementation of
BackOffPolicy
that performs a no-op and as such all retry operation in a given set proceed one after the other with no pause. - NoBackOffPolicy() - 类的构造器 infra.retry.backoff.NoBackOffPolicy
- noRetryFor() - annotation interface 中的元素 infra.retry.annotation.CircuitBreaker
-
Exception types that are not retryable.
- noRetryFor() - annotation interface 中的元素 infra.retry.annotation.Retryable
-
Exception types that are not retryable.
- notRecoverable() - annotation interface 中的元素 infra.retry.annotation.CircuitBreaker
-
Exception types that are not recoverable; these exceptions are thrown to the caller without calling any recoverer (immediately if also in
CircuitBreaker.noRetryFor()
). - notRecoverable() - annotation interface 中的元素 infra.retry.annotation.Retryable
-
Exception types that are not recoverable; these exceptions are thrown to the caller without calling any recoverer (immediately if also in
Retryable.noRetryFor()
). - notRetryOn(Class<? extends Throwable>) - 类中的方法 infra.classify.BinaryExceptionClassifierBuilder
- notRetryOn(Class<? extends Throwable>) - 类中的方法 infra.retry.support.RetryTemplateBuilder
-
Add the
Throwable
and its subclasses to the list of exceptions that do not cause a retry. - notRetryOn(List<Class<? extends Throwable>>) - 类中的方法 infra.retry.support.RetryTemplateBuilder
-
Add the list of
Throwable
classes and their subclasses to the list of exceptions that do not cause a retry. - NULL_INTERCEPTOR - 类中的静态变量 infra.retry.annotation.AnnotationAwareRetryOperationsInterceptor
O
- object - 类中的变量 infra.classify.util.SimpleMethodInvoker
- onError(RetryContext, RetryCallback<T, E>, Throwable) - 类中的方法 infra.retry.listener.MethodInvocationRetryListenerSupport
- onError(RetryContext, RetryCallback<T, E>, Throwable) - 类中的方法 infra.retry.listener.RetryListenerSupport
- onError(RetryContext, RetryCallback<T, E>, Throwable) - 接口中的方法 infra.retry.RetryListener
-
Called after every unsuccessful attempt at a retry.
- onError(RetryContext, RetryCallback<T, E>, Throwable) - 类中的方法 infra.retry.stats.StatisticsListener
- onSuccess(RetryContext, RetryCallback<T, E>, T) - 类中的方法 infra.retry.listener.MethodInvocationRetryListenerSupport
- onSuccess(RetryContext, RetryCallback<T, E>, T) - 接口中的方法 infra.retry.RetryListener
-
Called after a successful attempt; allow the listener to throw a new exception to cause a retry (according to the retry policy), based on the result returned by the
RetryCallback.doWithRetry(RetryContext)
- open(RetryContext) - 类中的方法 infra.retry.policy.BinaryExceptionClassifierRetryPolicy
- open(RetryContext) - 类中的方法 infra.retry.policy.CircuitBreakerRetryPolicy
- open(RetryContext) - 类中的方法 infra.retry.policy.CompositeRetryPolicy
-
Creates a new context that copies the existing policies and keeps a list of the contexts from each one.
- open(RetryContext) - 类中的方法 infra.retry.policy.ExceptionClassifierRetryPolicy.ExceptionClassifierRetryContext
- open(RetryContext) - 类中的方法 infra.retry.policy.ExceptionClassifierRetryPolicy
-
Create an active context that proxies a retry policy by choosing a target from the policy map.
- open(RetryContext) - 类中的方法 infra.retry.policy.MaxAttemptsRetryPolicy
-
Get a status object that can be used to track the current operation according to this policy.
- open(RetryContext) - 类中的方法 infra.retry.policy.NeverRetryPolicy
-
Return a context that can respond to early termination requests, but does nothing else.
- open(RetryContext) - 类中的方法 infra.retry.policy.SimpleRetryPolicy
-
Get a status object that can be used to track the current operation according to this policy.
- open(RetryContext) - 类中的方法 infra.retry.policy.TimeoutRetryPolicy
- open(RetryContext) - 接口中的方法 infra.retry.RetryPolicy
-
Acquire resources needed for the retry operation.
- open(RetryContext, RetryCallback<T, E>) - 类中的方法 infra.retry.listener.MethodInvocationRetryListenerSupport
- open(RetryContext, RetryCallback<T, E>) - 类中的方法 infra.retry.listener.RetryListenerSupport
- open(RetryContext, RetryCallback<T, E>) - 接口中的方法 infra.retry.RetryListener
-
Called before the first attempt in a retry.
- open(RetryPolicy, RetryState) - 类中的方法 infra.retry.support.RetryTemplate
-
Delegate to the
RetryPolicy
having checked in the cache for an existing value if the state is not null. - openTimeout - 类中的变量 infra.retry.policy.CircuitBreakerRetryPolicy
- openTimeout() - annotation interface 中的元素 infra.retry.annotation.CircuitBreaker
-
When
CircuitBreaker.maxAttempts()
failures are reached within this timeout, the circuit is opened automatically, preventing access to the downstream component. - openTimeout(CircuitBreakerRetryPolicy, CircuitBreaker) - 类中的方法 infra.retry.annotation.AnnotationAwareRetryOperationsInterceptor
- openTimeoutExpression() - annotation interface 中的元素 infra.retry.annotation.CircuitBreaker
-
When
CircuitBreaker.maxAttempts()
failures are reached within this timeout, the circuit is opened automatically, preventing access to the downstream component. - openTimeoutSupplier - 类中的变量 infra.retry.policy.CircuitBreakerRetryPolicy
- openTimeoutSupplier(Supplier<Long>) - 类中的方法 infra.retry.policy.CircuitBreakerRetryPolicy
-
A supplier for the Timeout for tripping the open circuit.
- openWindow - 类中的变量 infra.retry.policy.CircuitBreakerRetryPolicy.CircuitBreakerRetryContext
- optimistic - 类中的变量 infra.retry.policy.CompositeRetryPolicy
- optionallyFilterMethodsBy(Class<?>) - 类中的方法 infra.retry.annotation.RecoverAnnotationRecoveryHandler
- order() - annotation interface 中的元素 infra.retry.annotation.EnableRetry
-
Indicate the order in which the
RetryConfiguration
AOP advice should be applied.
P
- parameterTypes - 类中的变量 infra.classify.util.SimpleMethodInvoker
- parent - 类中的变量 infra.retry.context.RetryContextSupport
- parse(String) - 类中的方法 infra.retry.annotation.AnnotationAwareRetryOperationsInterceptor
- PARSER - 类中的静态变量 infra.retry.annotation.AnnotationAwareRetryOperationsInterceptor
- PARSER_CONTEXT - 类中的静态变量 infra.retry.annotation.AnnotationAwareRetryOperationsInterceptor
- PARSER_CONTEXT - 类中的静态变量 infra.retry.policy.ExpressionRetryPolicy
- PatternMatcher<S> - infra.classify中的类
- PatternMatcher(Map<String, S>) - 类的构造器 infra.classify.PatternMatcher
-
Initialize a new
PatternMatcher
with a map of patterns to values - PatternMatchingClassifier<T> - infra.classify中的类
-
A
Classifier
that maps from String patterns with wildcards to a set of values of a given type. - PatternMatchingClassifier() - 类的构造器 infra.classify.PatternMatchingClassifier
-
Default constructor.
- PatternMatchingClassifier(Map<String, T>) - 类的构造器 infra.classify.PatternMatchingClassifier
-
Create a classifier from the provided map.
- pointcut - 类中的变量 infra.retry.annotation.RetryConfiguration
- policies - 类中的变量 infra.retry.policy.CompositeRetryPolicy.CompositeRetryContext
- policies - 类中的变量 infra.retry.policy.CompositeRetryPolicy
- policy - 类中的变量 infra.retry.policy.CircuitBreakerRetryPolicy.CircuitBreakerRetryContext
- policy - 类中的变量 infra.retry.policy.ExceptionClassifierRetryPolicy.ExceptionClassifierRetryContext
- proxyTargetClass() - annotation interface 中的元素 infra.retry.annotation.EnableRetry
-
Indicate whether subclass-based (CGLIB) proxies are to be created as opposed to standard Java interface-based proxies.
- put(Object, RetryContext) - 类中的方法 infra.retry.policy.MapRetryContextCache
- put(Object, RetryContext) - 接口中的方法 infra.retry.policy.RetryContextCache
- put(Object, RetryContext) - 类中的方法 infra.retry.policy.SoftReferenceMapRetryContextCache
- putToMethodsMap(Method, Map<Class<? extends Throwable>, Method>) - 类中的方法 infra.retry.annotation.RecoverAnnotationRecoveryHandler
R
- r - 类中的变量 infra.retry.backoff.ExponentialRandomBackOffPolicy.ExponentialRandomBackOffContext
- random - 类中的变量 infra.retry.backoff.BackOffPolicyBuilder
- random - 类中的变量 infra.retry.backoff.UniformRandomBackOffPolicy
- random() - annotation interface 中的元素 infra.retry.annotation.Backoff
-
In the exponential case (
Backoff.multiplier()
> 1.0) set this to true to have the backoff delays randomized with jitter, so that the maximum delay is multiplier times the previous delay and the distribution is uniform between the two values. - random(boolean) - 类中的方法 infra.retry.backoff.BackOffPolicyBuilder
-
In the exponential case (
BackOffPolicyBuilder.multiplier
> 0) set this to true to have the backoff delays randomized, so that the maximum delay is multiplier times the previous delay and the distribution is uniform between the two values. - randomExpression() - annotation interface 中的元素 infra.retry.annotation.Backoff
-
Evaluates to a value.
- randomSupplier - 类中的变量 infra.retry.backoff.BackOffPolicyBuilder
- randomSupplier(Supplier<Boolean>) - 类中的方法 infra.retry.backoff.BackOffPolicyBuilder
-
Set a supplier for the random.
- recover() - annotation interface 中的元素 infra.retry.annotation.Retryable
-
Name of method in this class to use for recover.
- recover(RetryContext) - record class中的方法 infra.retry.interceptor.RetryOperationsInterceptor.ItemRecovererCallback
- recover(RetryContext) - record class中的方法 infra.retry.interceptor.StatefulRetryOperationsInterceptor.ItemRecovererCallback
- recover(RetryContext) - 接口中的方法 infra.retry.RecoveryCallback
- recover(Object[], Throwable) - 类中的方法 infra.retry.annotation.RecoverAnnotationRecoveryHandler
- recover(Object[], Throwable) - 接口中的方法 infra.retry.interceptor.MethodInvocationRecoverer
-
Recover gracefully from an error.
- Recover - infra.retry.annotation中的Annotation Interface
-
Annotation for a method invocation that is a recovery handler.
- recoverableClassifier - 类中的变量 infra.retry.policy.SimpleRetryPolicy
- RecoverAnnotationRecoveryHandler<T> - infra.retry.annotation中的类
-
A recoverer for method invocations based on the
@Recover
annotation. - RecoverAnnotationRecoveryHandler(Object, Method) - 类的构造器 infra.retry.annotation.RecoverAnnotationRecoveryHandler
- RecoverAnnotationRecoveryHandler.RecoverMetadata - infra.retry.annotation中的类
- RECOVERED - 接口中的静态变量 infra.retry.RetryContext
-
Retry context attribute that is non-null (and true) if the recovery path was taken.
- recoverer - 类中的变量 infra.retry.interceptor.RetryInterceptorBuilder
- recoverer - record class中的变量 infra.retry.interceptor.RetryOperationsInterceptor.ItemRecovererCallback
-
recoverer
记录组件的字段。 - recoverer - 类中的变量 infra.retry.interceptor.RetryOperationsInterceptor
- recoverer - record class中的变量 infra.retry.interceptor.StatefulRetryOperationsInterceptor.ItemRecovererCallback
-
recoverer
记录组件的字段。 - recoverer - 类中的变量 infra.retry.interceptor.StatefulRetryOperationsInterceptor
- recoverer() - record class中的方法 infra.retry.interceptor.RetryOperationsInterceptor.ItemRecovererCallback
-
返回
recoverer
记录组件的值。 - recoverer() - record class中的方法 infra.retry.interceptor.StatefulRetryOperationsInterceptor.ItemRecovererCallback
-
返回
recoverer
记录组件的值。 - recoverer(MethodInvocationRecoverer<?>) - 类中的方法 infra.retry.interceptor.RetryInterceptorBuilder.CircuitBreakerInterceptorBuilder
- recoverer(MethodInvocationRecoverer<?>) - 类中的方法 infra.retry.interceptor.RetryInterceptorBuilder
-
Apply a
MethodInvocationRecoverer
for the Retry interceptor. - recoverer(MethodInvocationRecoverer<?>) - 类中的方法 infra.retry.interceptor.RetryInterceptorBuilder.StatefulRetryInterceptorBuilder
- RecoverMetadata(int, Class<? extends Throwable>) - 类的构造器 infra.retry.annotation.RecoverAnnotationRecoveryHandler.RecoverMetadata
- recoverMethodName - 类中的变量 infra.retry.annotation.RecoverAnnotationRecoveryHandler
- recoverMethods - 类中的变量 infra.retry.annotation.RecoverAnnotationRecoveryHandler
- recovery - 类中的变量 infra.retry.stats.ExponentialAverageRetryStatistics
- RecoveryCallback<T> - infra.retry中的接口
-
Callback for stateful retry after all tries are exhausted.
- recoveryCount - 类中的变量 infra.retry.stats.DefaultRetryStatistics
- register(RetryContext) - 类中的静态方法 infra.retry.support.RetrySynchronizationManager
-
Method for registering a context - should only be used by
RetryOperations
implementations to ensure thatRetrySynchronizationManager.getContext()
always returns the correct value. - registerContext(RetryContext, RetryState) - 类中的方法 infra.retry.support.RetryTemplate
- registerListener(RetryListener) - 类中的方法 infra.retry.support.RetryTemplate
-
Register an additional listener at the end of the list.
- registerListener(RetryListener, int) - 类中的方法 infra.retry.support.RetryTemplate
-
Register an additional listener at the specified index.
- registerThrowable(RetryContext, Throwable) - 类中的方法 infra.retry.policy.BinaryExceptionClassifierRetryPolicy
- registerThrowable(RetryContext, Throwable) - 类中的方法 infra.retry.policy.CircuitBreakerRetryPolicy
- registerThrowable(RetryContext, Throwable) - 类中的方法 infra.retry.policy.CompositeRetryPolicy
-
Delegate to the policies that were in operation when the context was created.
- registerThrowable(RetryContext, Throwable) - 类中的方法 infra.retry.policy.ExceptionClassifierRetryPolicy.ExceptionClassifierRetryContext
- registerThrowable(RetryContext, Throwable) - 类中的方法 infra.retry.policy.ExceptionClassifierRetryPolicy
-
Delegate to the policy currently activated in the context.
- registerThrowable(RetryContext, Throwable) - 类中的方法 infra.retry.policy.MaxAttemptsRetryPolicy
-
Update the status with another attempted retry and the latest exception.
- registerThrowable(RetryContext, Throwable) - 类中的方法 infra.retry.policy.NeverRetryPolicy
-
Make the throwable available for downstream use through the context.
- registerThrowable(RetryContext, Throwable) - 类中的方法 infra.retry.policy.SimpleRetryPolicy
-
Update the status with another attempted retry and the latest exception.
- registerThrowable(RetryContext, Throwable) - 类中的方法 infra.retry.policy.TimeoutRetryPolicy
- registerThrowable(RetryContext, Throwable) - 接口中的方法 infra.retry.RetryPolicy
-
Called once per retry attempt, after the callback fails.
- registerThrowable(RetryPolicy, RetryState, RetryContext, Throwable) - 类中的方法 infra.retry.support.RetryTemplate
- registerThrowable(Throwable) - 类中的方法 infra.retry.context.RetryContextSupport
-
Set the exception for the public interface
RetryContext
, and also increment the retry count if the throwable is non-null. - remove(Object) - 类中的方法 infra.retry.policy.MapRetryContextCache
- remove(Object) - 接口中的方法 infra.retry.policy.RetryContextCache
- remove(Object) - 类中的方法 infra.retry.policy.SoftReferenceMapRetryContextCache
- repository - 类中的变量 infra.retry.stats.StatisticsListener
- reset() - 类中的方法 infra.retry.policy.CircuitBreakerRetryPolicy.CircuitBreakerRetryContext
- resetTimeout - 类中的变量 infra.retry.policy.CircuitBreakerRetryPolicy
- resetTimeout() - annotation interface 中的元素 infra.retry.annotation.CircuitBreaker
-
If the circuit is open for longer than this timeout then it resets on the next call to give the downstream component a chance to respond again.
- resetTimeout(CircuitBreakerRetryPolicy, CircuitBreaker) - 类中的方法 infra.retry.annotation.AnnotationAwareRetryOperationsInterceptor
- resetTimeoutExpression() - annotation interface 中的元素 infra.retry.annotation.CircuitBreaker
-
If the circuit is open for longer than this timeout then it resets on the next call to give the downstream component a chance to respond again.
- resetTimeoutSupplier - 类中的变量 infra.retry.policy.CircuitBreakerRetryPolicy
- resetTimeoutSupplier(Supplier<Long>) - 类中的方法 infra.retry.policy.CircuitBreakerRetryPolicy
-
A supplier for the timeout for resetting circuit in milliseconds.
- resolve(String) - 类中的方法 infra.retry.annotation.AnnotationAwareRetryOperationsInterceptor
-
Resolve the specified value if possible.
- rethrow(RetryContext, String, boolean) - 类中的方法 infra.retry.support.RetryTemplate
- retryable - 类中的变量 infra.retry.annotation.RecoverAnnotationRecoveryHandler
-
Retryable method
- Retryable - infra.retry.interceptor中的接口
-
Marker interface for proxies that are providing retryable behaviour.
- Retryable - infra.retry.annotation中的Annotation Interface
-
Annotation for a method invocation that is retryable.
- retryableClassifier - 类中的变量 infra.retry.policy.SimpleRetryPolicy
- RetryCacheCapacityExceededException - infra.retry.policy中的异常错误
-
Exception that indicates that a cache limit was exceeded.
- RetryCacheCapacityExceededException(String) - 异常错误的构造器 infra.retry.policy.RetryCacheCapacityExceededException
-
Constructs a new instance with a message.
- RetryCacheCapacityExceededException(String, Throwable) - 异常错误的构造器 infra.retry.policy.RetryCacheCapacityExceededException
-
Constructs a new instance with a message and nested exception.
- RetryCallback<T,
E extends Throwable> - infra.retry中的接口 -
Callback interface for an operation that can be retried using a
RetryOperations
. - RetryConfiguration - infra.retry.annotation中的类
-
Basic configuration for
@Retryable
processing. - RetryConfiguration() - 类的构造器 infra.retry.annotation.RetryConfiguration
- RetryConfiguration.AnnotationClassOrMethodFilter - infra.retry.annotation中的类
- RetryConfiguration.AnnotationClassOrMethodPointcut - infra.retry.annotation中的类
- RetryConfiguration.AnnotationMethodsResolver - infra.retry.annotation中的Record Class
- RetryContext - infra.retry中的接口
-
Low-level access to ongoing retry operation.
- retryContextCache - 类中的变量 infra.retry.annotation.AnnotationAwareRetryOperationsInterceptor
- retryContextCache - 类中的变量 infra.retry.annotation.RetryConfiguration
- retryContextCache - 类中的变量 infra.retry.support.RetryTemplate
- RetryContextCache - infra.retry.policy中的接口
-
Simple map-like abstraction for stateful retry policies to use when storing and retrieving
RetryContext
instances. - RetryContextSupport - infra.retry.context中的类
- RetryContextSupport(RetryContext) - 类的构造器 infra.retry.context.RetryContextSupport
- RetryException - infra.retry中的异常错误
- RetryException(String) - 异常错误的构造器 infra.retry.RetryException
- RetryException(String, Throwable) - 异常错误的构造器 infra.retry.RetryException
- retryFor() - annotation interface 中的元素 infra.retry.annotation.CircuitBreaker
-
Exception types that are retryable.
- retryFor() - annotation interface 中的元素 infra.retry.annotation.Retryable
-
Exception types that are retryable.
- retryForException(Throwable) - 类中的方法 infra.retry.policy.SimpleRetryPolicy
-
Delegates to an exception classifier.
- RetryInterceptorBuilder<T extends org.aopalliance.intercept.MethodInterceptor> - infra.retry.interceptor中的类
-
Simplified facade to make it easier and simpler to build a
StatefulRetryOperationsInterceptor
or (stateless)RetryOperationsInterceptor
by providing a fluent interface to defining the behavior on error. - RetryInterceptorBuilder() - 类的构造器 infra.retry.interceptor.RetryInterceptorBuilder
- RetryInterceptorBuilder.CircuitBreakerInterceptorBuilder - infra.retry.interceptor中的类
- RetryInterceptorBuilder.StatefulRetryInterceptorBuilder - infra.retry.interceptor中的类
- RetryInterceptorBuilder.StatelessRetryInterceptorBuilder - infra.retry.interceptor中的类
- RetryListener - infra.retry中的接口
-
Interface for listener that can be used to add behaviour to a retry.
- RetryListenerSupport - infra.retry.listener中的类
-
Empty method implementation of
RetryListener
. - RetryListenerSupport() - 类的构造器 infra.retry.listener.RetryListenerSupport
- retryOn(Class<? extends Throwable>) - 类中的方法 infra.classify.BinaryExceptionClassifierBuilder
- retryOn(Class<? extends Throwable>) - 类中的方法 infra.retry.support.RetryTemplateBuilder
-
Add the
Throwable
and its subclasses to the list of exceptions that cause a retry. - retryOn(List<Class<? extends Throwable>>) - 类中的方法 infra.retry.support.RetryTemplateBuilder
-
Add the list of
Throwable
classes and their subclasses to the list of exceptions that cause a retry. - retryOperations - 类中的变量 infra.retry.interceptor.RetryInterceptorBuilder
- retryOperations - 类中的变量 infra.retry.interceptor.RetryOperationsInterceptor
- retryOperations - 类中的变量 infra.retry.interceptor.StatefulRetryOperationsInterceptor
- retryOperations(RetryOperations) - 类中的方法 infra.retry.interceptor.RetryInterceptorBuilder.CircuitBreakerInterceptorBuilder
- retryOperations(RetryOperations) - 类中的方法 infra.retry.interceptor.RetryInterceptorBuilder
-
Apply the retry operations - once this is set, other properties can no longer be set; can't be set if other properties have been applied.
- retryOperations(RetryOperations) - 类中的方法 infra.retry.interceptor.RetryInterceptorBuilder.StatefulRetryInterceptorBuilder
- RetryOperations - infra.retry中的接口
-
Defines the basic set of operations implemented by
RetryOperations
to execute operations with configurable retry behaviour. - RetryOperationsInterceptor - infra.retry.interceptor中的类
-
A
MethodInterceptor
that can be used to automatically retry calls to a method on a service if it fails. - RetryOperationsInterceptor() - 类的构造器 infra.retry.interceptor.RetryOperationsInterceptor
- RetryOperationsInterceptor.ItemRecovererCallback - infra.retry.interceptor中的Record Class
- retryPolicy - 类中的变量 infra.retry.support.RetrySimulator
- retryPolicy - 类中的变量 infra.retry.support.RetryTemplate
- retryPolicy(RetryPolicy) - 类中的方法 infra.retry.interceptor.RetryInterceptorBuilder.CircuitBreakerInterceptorBuilder
- retryPolicy(RetryPolicy) - 类中的方法 infra.retry.interceptor.RetryInterceptorBuilder
-
Apply the retry policy - cannot be used if a custom retry template has been provided, or the max attempts or back off options or policy have been applied.
- retryPolicy(RetryPolicy) - 类中的方法 infra.retry.interceptor.RetryInterceptorBuilder.StatefulRetryInterceptorBuilder
- RetryPolicy - infra.retry中的接口
-
A
RetryPolicy
is responsible for allocating and managing resources needed byRetryOperations
. - retryPolicySet - 类中的变量 infra.retry.interceptor.RetryInterceptorBuilder
- RetrySimulation - infra.retry.support中的类
-
The results of a simulation.
- RetrySimulation() - 类的构造器 infra.retry.support.RetrySimulation
- RetrySimulation.SleepSequence - infra.retry.support中的类
- RetrySimulator - infra.retry.support中的类
-
A
RetrySimulator
is a tool for exercising retry + backoff operations. - RetrySimulator(SleepingBackOffPolicy<?>, RetryPolicy) - 类的构造器 infra.retry.support.RetrySimulator
- RetrySimulator.FailingRetryCallback - infra.retry.support中的类
- RetrySimulator.FailingRetryException - infra.retry.support中的异常错误
- RetrySimulator.StealingSleeper - infra.retry.support中的类
- RetryState - infra.retry中的接口
-
Stateful retry is characterised by having to recognise the items that are being processed, so this interface is used primarily to provide a cache key in between failed attempts.
- RetryStatistics - infra.retry中的接口
-
Interface for statistics reporting of retry attempts.
- RetryStatisticsFactory - infra.retry.stats中的接口
- RetrySynchronizationManager - infra.retry.support中的类
-
Global variable support for retry clients.
- RetrySynchronizationManager() - 类的构造器 infra.retry.support.RetrySynchronizationManager
- retryTemplate - 类中的变量 infra.retry.interceptor.RetryInterceptorBuilder
- RetryTemplate - infra.retry.support中的类
-
Template class that simplifies the execution of operations with retry semantics.
- RetryTemplate() - 类的构造器 infra.retry.support.RetryTemplate
- RetryTemplateBuilder - infra.retry.support中的类
-
Builder that provides a fluent API to configure new instances of
RetryTemplate
. - RetryTemplateBuilder() - 类的构造器 infra.retry.support.RetryTemplateBuilder
- rollbackClassifier - 类中的变量 infra.retry.interceptor.RetryInterceptorBuilder.StatefulRetryInterceptorBuilder
- rollbackClassifier - 类中的变量 infra.retry.interceptor.StatefulRetryOperationsInterceptor
- rollbackClassifier - 类中的变量 infra.retry.support.DefaultRetryState
- rollbackFor(Classifier<? super Throwable, Boolean>) - 类中的方法 infra.retry.interceptor.RetryInterceptorBuilder.StatefulRetryInterceptorBuilder
-
Control the rollback of an ongoing transaction.
- rollbackFor(Throwable) - 接口中的方法 infra.retry.RetryState
-
Check whether this exception requires a rollback.
- rollbackFor(Throwable) - 类中的方法 infra.retry.support.DefaultRetryState
- router - 类中的变量 infra.classify.BackToBackPatternClassifier
S
- serialVersionUID - 类中的静态变量 infra.retry.annotation.RetryConfiguration
- serialVersionUID - 类中的静态变量 infra.retry.backoff.ExponentialBackOffPolicy.ExponentialBackOffContext
- serialVersionUID - 类中的静态变量 infra.retry.backoff.ExponentialRandomBackOffPolicy.ExponentialRandomBackOffContext
- serialVersionUID - 类中的静态变量 infra.retry.policy.ExpressionRetryPolicy
- serialVersionUID - 类中的静态变量 infra.retry.policy.SimpleRetryPolicy
- setBackOffPeriod(long) - 类中的方法 infra.retry.backoff.FixedBackOffPolicy
-
Set the back off period in milliseconds.
- setBackOffPolicy(BackOffPolicy) - 类中的方法 infra.retry.support.RetryTemplate
-
Setter for
BackOffPolicy
. - setBeanFactory(BeanFactory) - 类中的方法 infra.retry.annotation.AnnotationAwareRetryOperationsInterceptor
- setBeanFactory(BeanFactory) - 类中的方法 infra.retry.annotation.RetryConfiguration
-
Set the
BeanFactory
to be used when looking up executors by qualifier. - setBeanFactory(BeanFactory) - 类中的方法 infra.retry.policy.ExpressionRetryPolicy
- setCapacity(int) - 类中的方法 infra.retry.policy.MapRetryContextCache
-
Public setter for the capacity.
- setCapacity(int) - 类中的方法 infra.retry.policy.SoftReferenceMapRetryContextCache
-
Public setter for the capacity.
- setDefaultValue(C) - 类中的方法 infra.classify.SubclassClassifier
-
Public setter for the default value for mapping keys that are not found in the map (or their subclasses).
- setDelegate(Classifier<C, T>) - 类中的方法 infra.classify.ClassifierAdapter
- setDelegate(Object) - 类中的方法 infra.classify.ClassifierAdapter
-
Search for the
Classifier
annotation on a method in the supplied delegate and use that to create aClassifier
from the parameter type to the return type. - setExceptionClassifier(Classifier<Throwable, RetryPolicy>) - 类中的方法 infra.retry.policy.ExceptionClassifierRetryPolicy
-
Setter for an exception classifier.
- setExhaustedOnly() - 类中的方法 infra.retry.context.RetryContextSupport
- setExhaustedOnly() - 接口中的方法 infra.retry.RetryContext
-
Signal to the framework that no more attempts should be made to try or retry the current
RetryCallback
. - setFinished() - 类中的方法 infra.retry.policy.NeverRetryPolicy.NeverRetryContext
- setImportMetadata(AnnotationMetadata) - 类中的方法 infra.retry.annotation.RetryConfiguration
- setInitialInterval(long) - 类中的方法 infra.retry.backoff.ExponentialBackOffPolicy
-
Set the initial sleep interval value.
- setKeyGenerator(MethodArgumentsKeyGenerator) - 类中的方法 infra.retry.annotation.AnnotationAwareRetryOperationsInterceptor
- setKeyGenerator(MethodArgumentsKeyGenerator) - 类中的方法 infra.retry.interceptor.StatefulRetryOperationsInterceptor
- setLabel(String) - 类中的方法 infra.retry.interceptor.RetryOperationsInterceptor
- setLabel(String) - 类中的方法 infra.retry.interceptor.StatefulRetryOperationsInterceptor
- setListeners(RetryListener[]) - 类中的方法 infra.retry.support.RetryTemplate
-
Setter for listeners.
- setListeners(Collection<RetryListener>) - 类中的方法 infra.retry.annotation.AnnotationAwareRetryOperationsInterceptor
-
Default retry listeners to apply to all operations.
- setMatcherMap(Map<String, T>) - 类中的方法 infra.classify.BackToBackPatternClassifier
-
A convenience method for creating a pattern matching classifier for the matcher component.
- setMaxAttempts(int) - 类中的方法 infra.retry.policy.MaxAttemptsRetryPolicy
-
Set the number of attempts before retries are exhausted.
- setMaxAttempts(int) - 类中的方法 infra.retry.policy.SimpleRetryPolicy
-
Set the number of attempts before retries are exhausted.
- setMaxBackOffPeriod(long) - 类中的方法 infra.retry.backoff.UniformRandomBackOffPolicy
-
Set the maximum back off period in milliseconds.
- setMaxInterval(long) - 类中的方法 infra.retry.backoff.ExponentialBackOffPolicy
-
Setter for maximum back off period.
- setMinBackOffPeriod(long) - 类中的方法 infra.retry.backoff.UniformRandomBackOffPolicy
-
Set the minimum back off period in milliseconds.
- setMultiplier(double) - 类中的方法 infra.retry.backoff.ExponentialBackOffPolicy
-
Set the multiplier value.
- setName(String) - 类中的方法 infra.retry.stats.DefaultRetryStatistics
- setNewItemIdentifier(NewMethodArgumentsIdentifier) - 类中的方法 infra.retry.annotation.AnnotationAwareRetryOperationsInterceptor
- setNewItemIdentifier(NewMethodArgumentsIdentifier) - 类中的方法 infra.retry.interceptor.StatefulRetryOperationsInterceptor
-
Public setter for the
NewMethodArgumentsIdentifier
. - setNotRecoverable(Class<? extends Throwable>...) - 类中的方法 infra.retry.policy.SimpleRetryPolicy
-
Configure throwables that should not be passed to a recoverer (if present) but thrown immediately.
- setOpenTimeout(long) - 类中的方法 infra.retry.policy.CircuitBreakerRetryPolicy
-
Timeout for tripping the open circuit.
- setOptimistic(boolean) - 类中的方法 infra.retry.policy.CompositeRetryPolicy
-
Setter for optimistic.
- setPatternMap(Map<String, T>) - 类中的方法 infra.classify.PatternMatchingClassifier
-
A map from pattern to value
- setPolicies(RetryPolicy[]) - 类中的方法 infra.retry.policy.CompositeRetryPolicy
-
Setter for policies.
- setPolicyMap(Map<Class<? extends Throwable>, RetryPolicy>) - 类中的方法 infra.retry.policy.ExceptionClassifierRetryPolicy
-
Setter for policy map used to create a classifier.
- setRecoverer(MethodInvocationRecoverer<?>) - 类中的方法 infra.retry.interceptor.RetryOperationsInterceptor
- setRecoverer(MethodInvocationRecoverer<?>) - 类中的方法 infra.retry.interceptor.StatefulRetryOperationsInterceptor
-
Public setter for the
MethodInvocationRecoverer
to use if the retry is exhausted. - setResetTimeout(long) - 类中的方法 infra.retry.policy.CircuitBreakerRetryPolicy
-
Timeout for resetting circuit in milliseconds.
- setRetryContextCache(RetryContextCache) - 类中的方法 infra.retry.annotation.AnnotationAwareRetryOperationsInterceptor
-
Public setter for the
RetryContextCache
. - setRetryContextCache(RetryContextCache) - 类中的方法 infra.retry.support.RetryTemplate
-
Public setter for the
RetryContextCache
. - setRetryOperations(RetryOperations) - 类中的方法 infra.retry.interceptor.RetryOperationsInterceptor
- setRetryOperations(RetryOperations) - 类中的方法 infra.retry.interceptor.StatefulRetryOperationsInterceptor
- setRetryPolicy(RetryPolicy) - 类中的方法 infra.retry.support.RetryTemplate
-
Setter for
RetryPolicy
. - setRetryStatisticsFactory(RetryStatisticsFactory) - 类中的方法 infra.retry.stats.DefaultStatisticsRepository
- setRollbackClassifier(Classifier<? super Throwable, Boolean>) - 类中的方法 infra.retry.interceptor.StatefulRetryOperationsInterceptor
-
Rollback classifier for the retry state.
- setRouterDelegate(Object) - 类中的方法 infra.classify.BackToBackPatternClassifier
-
A convenience method of creating a router classifier based on a plain old Java Object.
- setSleeper(Sleeper) - 类中的方法 infra.retry.annotation.AnnotationAwareRetryOperationsInterceptor
- setSleeper(Sleeper) - 类中的方法 infra.retry.backoff.ExponentialBackOffPolicy
-
Public setter for the
Sleeper
strategy. - setSleeper(Sleeper) - 类中的方法 infra.retry.backoff.FixedBackOffPolicy
-
Public setter for the
Sleeper
strategy. - setSleeper(Sleeper) - 类中的方法 infra.retry.backoff.UniformRandomBackOffPolicy
-
Public setter for the
Sleeper
strategy. - setThrowLastExceptionOnExhausted(boolean) - 类中的方法 infra.retry.support.RetryTemplate
- setTimeout(long) - 类中的方法 infra.retry.policy.TimeoutRetryPolicy
-
Setter for timeout in milliseconds.
- setTraverseCauses(boolean) - 类中的方法 infra.classify.BinaryExceptionClassifier
- setTypeMap(Map<Class<? extends T>, C>) - 类中的方法 infra.classify.SubclassClassifier
-
Set the classifications up as a map.
- setUseRawKey(boolean) - 类中的方法 infra.retry.interceptor.StatefulRetryOperationsInterceptor
-
Set to true to use the raw key generated by the key generator.
- setUseThreadLocal(boolean) - 类中的静态方法 infra.retry.support.RetrySynchronizationManager
-
Set to false to store the context in a map (keyed by the current thread) instead of in a
ThreadLocal
. - setWindow(long) - 类中的方法 infra.retry.stats.DefaultRetryStatisticsFactory
-
Window in milliseconds for exponential decay factor in rolling averages.
- setWindow(long) - 类中的方法 infra.retry.stats.ExponentialAverageRetryStatistics
-
Window in milliseconds for exponential decay factor in rolling average.
- shortCircuitCount - 类中的变量 infra.retry.policy.CircuitBreakerRetryPolicy.CircuitBreakerRetryContext
- shouldRethrow(RetryPolicy, RetryContext, RetryState) - 类中的方法 infra.retry.support.RetryTemplate
-
Extension point for subclasses to decide on behaviour after catching an exception in a
RetryCallback
. - SimpleMethodInvoker - infra.classify.util中的类
-
Simple implementation of the
MethodInvoker
interface that invokes a method on an object. - SimpleMethodInvoker(Object, Method) - 类的构造器 infra.classify.util.SimpleMethodInvoker
- SimpleMethodInvoker(Object, String, Class<?>...) - 类的构造器 infra.classify.util.SimpleMethodInvoker
- SimpleRetryContext(RetryContext) - 类的构造器 infra.retry.policy.SimpleRetryPolicy.SimpleRetryContext
- simpleRetryPolicy - 类中的变量 infra.retry.interceptor.RetryInterceptorBuilder
- SimpleRetryPolicy - infra.retry.policy中的类
-
Simple retry policy that retries a fixed number of times for a set of named exceptions (and subclasses).
- SimpleRetryPolicy() - 类的构造器 infra.retry.policy.SimpleRetryPolicy
-
Create a
SimpleRetryPolicy
with the default number of retry attempts, retrying all exceptions. - SimpleRetryPolicy(int) - 类的构造器 infra.retry.policy.SimpleRetryPolicy
-
Create a
SimpleRetryPolicy
with the specified number of retry attempts, retrying all exceptions. - SimpleRetryPolicy(int, BinaryExceptionClassifier) - 类的构造器 infra.retry.policy.SimpleRetryPolicy
-
Create a
SimpleRetryPolicy
with the specified number of retry attempts and provided exception classifier. - SimpleRetryPolicy(int, Map<Class<? extends Throwable>, Boolean>) - 类的构造器 infra.retry.policy.SimpleRetryPolicy
-
Create a
SimpleRetryPolicy
with the specified number of retry attempts. - SimpleRetryPolicy(int, Map<Class<? extends Throwable>, Boolean>, boolean) - 类的构造器 infra.retry.policy.SimpleRetryPolicy
-
Create a
SimpleRetryPolicy
with the specified number of retry attempts. - SimpleRetryPolicy(int, Map<Class<? extends Throwable>, Boolean>, boolean, boolean) - 类的构造器 infra.retry.policy.SimpleRetryPolicy
-
Create a
SimpleRetryPolicy
with the specified number of retry attempts. - SimpleRetryPolicy.SimpleRetryContext - infra.retry.policy中的类
- sleep(long) - 接口中的方法 infra.retry.backoff.Sleeper
-
Pause for the specified period using whatever means available.
- sleep(long) - 类中的方法 infra.retry.backoff.ThreadWaitSleeper
- sleep(long) - 类中的方法 infra.retry.support.RetrySimulator.StealingSleeper
- sleeper - 类中的变量 infra.retry.annotation.AnnotationAwareRetryOperationsInterceptor
- sleeper - 类中的变量 infra.retry.annotation.RetryConfiguration
- sleeper - 类中的变量 infra.retry.backoff.BackOffPolicyBuilder
- sleeper - 类中的变量 infra.retry.backoff.ExponentialBackOffPolicy
- sleeper - 类中的变量 infra.retry.backoff.FixedBackOffPolicy
- sleeper - 类中的变量 infra.retry.backoff.UniformRandomBackOffPolicy
- sleeper(Sleeper) - 类中的方法 infra.retry.backoff.BackOffPolicyBuilder
-
The
Sleeper
instance to be used to back off. - Sleeper - infra.retry.backoff中的接口
-
Strategy interface for backoff policies to delegate the pausing of execution.
- sleepHistogram - 类中的变量 infra.retry.support.RetrySimulation
- SleepingBackOffPolicy<T extends SleepingBackOffPolicy<T>> - infra.retry.backoff中的接口
-
A interface which can be mixed in by
BackOffPolicy
s indicating that they sleep when backing off. - sleeps - 类中的变量 infra.retry.support.RetrySimulation.SleepSequence
- sleeps - 类中的变量 infra.retry.support.RetrySimulator.StealingSleeper
- SleepSequence(List<Long>) - 类的构造器 infra.retry.support.RetrySimulation.SleepSequence
- sleepSequences - 类中的变量 infra.retry.support.RetrySimulation
- SoftReferenceMapRetryContextCache - infra.retry.policy中的类
-
Map-based implementation of
RetryContextCache
. - SoftReferenceMapRetryContextCache() - 类的构造器 infra.retry.policy.SoftReferenceMapRetryContextCache
-
Create a
SoftReferenceMapRetryContextCache
with default capacity. - SoftReferenceMapRetryContextCache(int) - 类的构造器 infra.retry.policy.SoftReferenceMapRetryContextCache
- sorted - 类中的变量 infra.classify.PatternMatcher
- start - 类中的变量 infra.retry.policy.CircuitBreakerRetryPolicy.CircuitBreakerRetryContext
- start - 类中的变量 infra.retry.policy.TimeoutRetryPolicy.TimeoutRetryContext
- start(RetryContext) - 接口中的方法 infra.retry.backoff.BackOffPolicy
-
Start a new block of back off operations.
- start(RetryContext) - 类中的方法 infra.retry.backoff.ExponentialBackOffPolicy
-
Returns a new instance of
BackOffContext
with the configured properties. - start(RetryContext) - 类中的方法 infra.retry.backoff.ExponentialRandomBackOffPolicy
-
Returns a new instance of
BackOffContext
, seeded with this policies settings. - start(RetryContext) - 类中的方法 infra.retry.backoff.StatelessBackOffPolicy
-
Returns '
null
'. - started - 类中的变量 infra.retry.stats.ExponentialAverageRetryStatistics
- startedCount - 类中的变量 infra.retry.stats.DefaultRetryStatistics
- STATE_KEY - 接口中的静态变量 infra.retry.RetryContext
-
Retry context attribute name for state key.
- stateful() - annotation interface 中的元素 infra.retry.annotation.Retryable
-
Flag to say that the retry is stateful: i.e. exceptions are re-thrown, but the retry policy is applied with the same policy to subsequent invocations with the same arguments.
- stateful() - 类中的静态方法 infra.retry.interceptor.RetryInterceptorBuilder
-
Create a builder for a stateful retry interceptor.
- StatefulMethodInvocationRetryCallback(MethodInvocation, String) - 类的构造器 infra.retry.interceptor.StatefulRetryOperationsInterceptor.StatefulMethodInvocationRetryCallback
- StatefulRetryInterceptorBuilder() - 类的构造器 infra.retry.interceptor.RetryInterceptorBuilder.StatefulRetryInterceptorBuilder
- StatefulRetryOperationsInterceptor - infra.retry.interceptor中的类
-
A
MethodInterceptor
that can be used to automatically retry calls to a method on a service if it fails. - StatefulRetryOperationsInterceptor() - 类的构造器 infra.retry.interceptor.StatefulRetryOperationsInterceptor
- StatefulRetryOperationsInterceptor.ItemRecovererCallback - infra.retry.interceptor中的Record Class
- StatefulRetryOperationsInterceptor.StatefulMethodInvocationRetryCallback - infra.retry.interceptor中的类
- stateless() - 类中的静态方法 infra.retry.interceptor.RetryInterceptorBuilder
-
Create a builder for a stateless retry interceptor.
- StatelessBackOffPolicy - infra.retry.backoff中的类
-
Simple base class for
BackOffPolicy
implementations that maintain no state across invocations. - StatelessBackOffPolicy() - 类的构造器 infra.retry.backoff.StatelessBackOffPolicy
- StatelessRetryInterceptorBuilder() - 类的构造器 infra.retry.interceptor.RetryInterceptorBuilder.StatelessRetryInterceptorBuilder
- StatisticsListener - infra.retry.stats中的类
- StatisticsListener(StatisticsRepository) - 类的构造器 infra.retry.stats.StatisticsListener
- StatisticsRepository - infra.retry.stats中的接口
- StealingSleeper() - 类的构造器 infra.retry.support.RetrySimulator.StealingSleeper
- SubclassClassifier<T,
C> - infra.classify中的类 -
A
Classifier
for a parameterised object type based on a map. - SubclassClassifier() - 类的构造器 infra.classify.SubclassClassifier
-
Create a
SubclassClassifier
with null default value. - SubclassClassifier(C) - 类的构造器 infra.classify.SubclassClassifier
-
Create a
SubclassClassifier
with supplied default value. - SubclassClassifier(Map<Class<? extends T>, C>, C) - 类的构造器 infra.classify.SubclassClassifier
-
Create a
SubclassClassifier
with supplied default value.
T
- target - 类中的变量 infra.classify.util.SimpleMethodInvoker
- target - 类中的变量 infra.retry.annotation.RecoverAnnotationRecoveryHandler
- templateAltered - 类中的变量 infra.retry.interceptor.RetryInterceptorBuilder
- terminate - 类中的变量 infra.retry.context.RetryContextSupport
- TerminatedRetryException - infra.retry中的异常错误
- TerminatedRetryException(String) - 异常错误的构造器 infra.retry.TerminatedRetryException
- TerminatedRetryException(String, Throwable) - 异常错误的构造器 infra.retry.TerminatedRetryException
- ThreadWaitSleeper - infra.retry.backoff中的类
-
Simple
Sleeper
implementation that just blocks the current Thread with sleep period. - ThreadWaitSleeper() - 类的构造器 infra.retry.backoff.ThreadWaitSleeper
- throwableType - 类中的变量 infra.retry.annotation.RecoverAnnotationRecoveryHandler.RecoverMetadata
- throwLastExceptionOnExhausted - 类中的变量 infra.retry.support.RetryTemplate
- timeout - 类中的变量 infra.retry.policy.CircuitBreakerRetryPolicy.CircuitBreakerRetryContext
- timeout - 类中的变量 infra.retry.policy.TimeoutRetryPolicy
- timeout - 类中的变量 infra.retry.policy.TimeoutRetryPolicy.TimeoutRetryContext
- TimeoutRetryContext(RetryContext, long) - 类的构造器 infra.retry.policy.TimeoutRetryPolicy.TimeoutRetryContext
- TimeoutRetryPolicy - infra.retry.policy中的类
-
A
RetryPolicy
that allows a retry only if it hasn't timed out. - TimeoutRetryPolicy() - 类的构造器 infra.retry.policy.TimeoutRetryPolicy
-
Create a new instance with the timeout set to
TimeoutRetryPolicy.DEFAULT_TIMEOUT
. - TimeoutRetryPolicy(long) - 类的构造器 infra.retry.policy.TimeoutRetryPolicy
-
Create a new instance with a configurable timeout.
- TimeoutRetryPolicy.TimeoutRetryContext - infra.retry.policy中的类
- toString() - record class中的方法 infra.retry.annotation.RetryConfiguration.AnnotationMethodsResolver
-
返回此记录的字符串表示形式。
- toString() - 类中的方法 infra.retry.backoff.ExponentialBackOffPolicy
- toString() - 类中的方法 infra.retry.backoff.FixedBackOffPolicy
- toString() - 类中的方法 infra.retry.backoff.NoBackOffPolicy
- toString() - 类中的方法 infra.retry.backoff.UniformRandomBackOffPolicy
- toString() - 类中的方法 infra.retry.context.RetryContextSupport
- toString() - record class中的方法 infra.retry.interceptor.RetryOperationsInterceptor.ItemRecovererCallback
-
返回此记录的字符串表示形式。
- toString() - record class中的方法 infra.retry.interceptor.StatefulRetryOperationsInterceptor.ItemRecovererCallback
-
返回此记录的字符串表示形式。
- toString() - 类中的方法 infra.retry.policy.CircuitBreakerRetryPolicy.CircuitBreakerRetryContext
- toString() - 类中的方法 infra.retry.policy.SimpleRetryPolicy
- toString() - 类中的方法 infra.retry.stats.DefaultRetryStatistics
- toString() - 类中的方法 infra.retry.support.DefaultRetryState
- toString() - 类中的方法 infra.retry.support.RetrySimulation.SleepSequence
- totalSleep - 类中的变量 infra.retry.support.RetrySimulation.SleepSequence
- traverseCauses - 类中的变量 infra.classify.BinaryExceptionClassifier
- traverseCauses - 类中的变量 infra.classify.BinaryExceptionClassifierBuilder
- traversingCauses() - 类中的方法 infra.classify.BinaryExceptionClassifierBuilder
- traversingCauses() - 类中的方法 infra.retry.support.RetryTemplateBuilder
-
Enable examining exception causes for
Throwable
instances that cause a retry.
U
- uniformRandomBackoff(long, long) - 类中的方法 infra.retry.support.RetryTemplateBuilder
- uniformRandomBackoff(Duration, Duration) - 类中的方法 infra.retry.support.RetryTemplateBuilder
- UniformRandomBackOffPolicy - infra.retry.backoff中的类
-
Implementation of
BackOffPolicy
that pauses for a random period of time before continuing. - UniformRandomBackOffPolicy() - 类的构造器 infra.retry.backoff.UniformRandomBackOffPolicy
- useRawKey - 类中的变量 infra.retry.interceptor.StatefulRetryOperationsInterceptor
- useThreadLocal - 类中的静态变量 infra.retry.support.RetrySynchronizationManager
V
- validateInterfaces() - 类中的方法 infra.retry.annotation.RetryConfiguration
- value - 类中的变量 infra.retry.stats.ExponentialAverageRetryStatistics.ExponentialAverage
- value() - annotation interface 中的元素 infra.retry.annotation.Backoff
-
Synonym for
Backoff.delay()
. - value() - annotation interface 中的元素 infra.retry.annotation.CircuitBreaker
-
Exception types that are retryable.
- value() - annotation interface 中的元素 infra.retry.annotation.Retryable
-
Exception types that are retryable.
- values - 类中的变量 infra.classify.PatternMatchingClassifier
W
- window - 类中的变量 infra.retry.stats.DefaultRetryStatisticsFactory
- window - 类中的变量 infra.retry.stats.ExponentialAverageRetryStatistics
- withBeanFactory(BeanFactory) - 类中的方法 infra.retry.policy.ExpressionRetryPolicy
- withListener(RetryListener) - 类中的方法 infra.retry.support.RetryTemplateBuilder
-
Append the provided
listener
toRetryTemplate
's list of listeners. - withListeners(List<RetryListener>) - 类中的方法 infra.retry.support.RetryTemplateBuilder
-
Append all provided
listeners
toRetryTemplate
's list of listeners. - withSleeper(Sleeper) - 类中的方法 infra.retry.backoff.ExponentialBackOffPolicy
- withSleeper(Sleeper) - 类中的方法 infra.retry.backoff.FixedBackOffPolicy
- withSleeper(Sleeper) - 接口中的方法 infra.retry.backoff.SleepingBackOffPolicy
-
Clone the policy and return a new policy which uses the passed sleeper.
- withSleeper(Sleeper) - 类中的方法 infra.retry.backoff.UniformRandomBackOffPolicy
- withTimeout(long) - 类中的方法 infra.retry.support.RetryTemplateBuilder
-
Retry until
timeoutMillis
has passed since the initial attempt. - withTimeout(Duration) - 类中的方法 infra.retry.support.RetryTemplateBuilder
-
Retry until
timeout
has passed since the initial attempt. - wrapIfNecessary(Throwable) - 类中的静态方法 infra.retry.support.RetryTemplate
-
Re-throws the original throwable if it is an Exception, and wraps non-exceptions into
RetryException
.
All Classes and Interfaces|常量字段值|所有程序包|序列化表格