Package | Description |
---|---|
org.springframework.classify | |
org.springframework.retry.interceptor |
Infrastructure implementations of retry aop concerns.
|
org.springframework.retry.policy |
Infrastructure implementations of retry policy concerns.
|
org.springframework.retry.support |
Infrastructure implementations of retry support concerns.
|
Modifier and Type | Class and Description |
---|---|
class |
BackToBackPatternClassifier<C,T>
A special purpose
Classifier with easy configuration options for
mapping from one arbitrary type of object to another via a pattern matcher. |
class |
BinaryExceptionClassifier
A
Classifier for exceptions that has only two classes (true and
false). |
class |
ClassifierAdapter<C,T>
Wrapper for an object to adapt it to the
Classifier interface. |
class |
ClassifierSupport<C,T>
Base class for
Classifier implementations. |
class |
PatternMatchingClassifier<T>
A
Classifier that maps from String patterns with wildcards to a set
of values of a given type. |
class |
SubclassClassifier<T,C>
A
Classifier for a parameterised object type based on a map. |
Modifier and Type | Method and Description |
---|---|
void |
ClassifierAdapter.setDelegate(Classifier<C,T> delegate) |
Constructor and Description |
---|
BackToBackPatternClassifier(Classifier<C,String> router,
Classifier<String,T> matcher)
Set up a classifier with input to the router and output from the matcher.
|
BackToBackPatternClassifier(Classifier<C,String> router,
Classifier<String,T> matcher)
Set up a classifier with input to the router and output from the matcher.
|
ClassifierAdapter(Classifier<C,T> delegate)
Create a new
Classifier from the delegate provided. |
Modifier and Type | Method and Description |
---|---|
RetryInterceptorBuilder.StatefulRetryInterceptorBuilder |
RetryInterceptorBuilder.StatefulRetryInterceptorBuilder.rollbackFor(Classifier<? super Throwable,Boolean> rollbackClassifier)
Control the rollback of an ongoing transaction.
|
void |
StatefulRetryOperationsInterceptor.setRollbackClassifier(Classifier<? super Throwable,Boolean> rollbackClassifier)
Rollback classifier for the retry state.
|
Modifier and Type | Method and Description |
---|---|
void |
ExceptionClassifierRetryPolicy.setExceptionClassifier(Classifier<Throwable,RetryPolicy> exceptionClassifier)
Setter for an exception classifier.
|
Constructor and Description |
---|
DefaultRetryState(Object key,
boolean forceRefresh,
Classifier<? super Throwable,Boolean> rollbackClassifier)
Create a
DefaultRetryState representing the state for a new retry
attempt. |
DefaultRetryState(Object key,
Classifier<? super Throwable,Boolean> rollbackClassifier)
Defaults the force refresh flag to false.
|
Copyright © 2018 SpringSource. All rights reserved.