Uses of Interface
org.springframework.classify.Classifier
Packages that use Classifier
Package
Description
Infrastructure implementations of retry aop concerns.
Infrastructure implementations of retry policy concerns.
Infrastructure implementations of retry support concerns.
-
Uses of Classifier in org.springframework.classify
Classes in org.springframework.classify that implement ClassifierModifier and TypeClassDescriptionclassA special purposeClassifierwith easy configuration options for mapping from one arbitrary type of object to another via a pattern matcher.classAClassifierfor exceptions that has only two classes (true and false).classClassifierAdapter<C,T> Wrapper for an object to adapt it to theClassifierinterface.classClassifierSupport<C,T> Base class forClassifierimplementations.classAClassifierthat maps from String patterns with wildcards to a set of values of a given type.classSubclassClassifier<T,C> AClassifierfor a parameterised object type based on a map.Methods in org.springframework.classify with parameters of type ClassifierConstructors in org.springframework.classify with parameters of type ClassifierModifierConstructorDescriptionBackToBackPatternClassifier(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 newClassifierfrom the delegate provided. -
Uses of Classifier in org.springframework.retry.interceptor
Methods in org.springframework.retry.interceptor with parameters of type ClassifierModifier and TypeMethodDescriptionRetryInterceptorBuilder.StatefulRetryInterceptorBuilder.rollbackFor(Classifier<? super Throwable, Boolean> rollbackClassifier) Control the rollback of an ongoing transaction.voidStatefulRetryOperationsInterceptor.setRollbackClassifier(Classifier<? super Throwable, Boolean> rollbackClassifier) Rollback classifier for the retry state. -
Uses of Classifier in org.springframework.retry.policy
Methods in org.springframework.retry.policy with parameters of type ClassifierModifier and TypeMethodDescriptionvoidExceptionClassifierRetryPolicy.setExceptionClassifier(Classifier<Throwable, RetryPolicy> exceptionClassifier) Setter for an exception classifier. -
Uses of Classifier in org.springframework.retry.support
Constructors in org.springframework.retry.support with parameters of type ClassifierModifierConstructorDescriptionDefaultRetryState(Object key, boolean forceRefresh, Classifier<? super Throwable, Boolean> rollbackClassifier) Create aDefaultRetryStaterepresenting the state for a new retry attempt.DefaultRetryState(Object key, Classifier<? super Throwable, Boolean> rollbackClassifier) Defaults the force refresh flag to false.