Package | Description |
---|---|
org.springframework.batch.classify | |
org.springframework.batch.core.step.item |
Specific implementations of step concerns for item-oriented approach.
|
org.springframework.batch.core.step.skip |
Specific implementations of skip concerns for items in a step.
|
org.springframework.batch.item.support |
Internal support package
|
org.springframework.batch.repeat.exception |
Infrastructure implementations of repeat exception handler concerns.
|
org.springframework.batch.retry.policy |
Infrastructure implementations of retry policy concerns.
|
org.springframework.batch.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 |
---|---|
protected Classifier<Throwable,Boolean> |
FaultTolerantStepFactoryBean.getRollbackClassifier()
Convenience method for subclasses to get an exception classifier based on
the provided transaction attributes.
|
Modifier and Type | Method and Description |
---|---|
static List<RetryState> |
BatchRetryTemplate.createState(List<?> keys,
Classifier<? super Throwable,Boolean> classifier) |
void |
FaultTolerantChunkProcessor.setRollbackClassifier(Classifier<Throwable,Boolean> rollbackClassifier)
A classifier that can distinguish between exceptions that cause rollback
(return true) or not (return false).
|
void |
FaultTolerantChunkProvider.setRollbackClassifier(Classifier<Throwable,Boolean> rollbackClassifier)
Classifier to determine whether exceptions have been marked as
no-rollback (as opposed to skippable).
|
Modifier and Type | Method and Description |
---|---|
void |
LimitCheckingItemSkipPolicy.setSkippableExceptionClassifier(Classifier<Throwable,Boolean> skippableExceptionClassifier)
The classifier that will be used to decide on skippability.
|
Constructor and Description |
---|
LimitCheckingItemSkipPolicy(int skipLimit,
Classifier<Throwable,Boolean> skippableExceptionClassifier) |
Modifier and Type | Method and Description |
---|---|
void |
ClassifierCompositeItemWriter.setClassifier(Classifier<T,ItemWriter<? super T>> classifier) |
Modifier and Type | Method and Description |
---|---|
void |
LogOrRethrowExceptionHandler.setExceptionClassifier(Classifier<Throwable,LogOrRethrowExceptionHandler.Level> exceptionClassifier)
Setter for the
Classifier used by this handler. |
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 © 2013 SpringSource. All rights reserved.