Package | Description |
---|---|
org.springframework.batch.core.step.builder |
Modifier and Type | Method and Description |
---|---|
FaultTolerantStepBuilder<I,O> |
FaultTolerantStepBuilder.backOffPolicy(org.springframework.retry.backoff.BackOffPolicy backOffPolicy)
Provide a backoff policy to prevent items being retried immediately (e.g.
|
FaultTolerantStepBuilder<I,O> |
SimpleStepBuilder.faultTolerant() |
FaultTolerantStepBuilder<I,O> |
FaultTolerantStepBuilder.keyGenerator(KeyGenerator keyGenerator)
Sets the key generator for identifying retried items.
|
FaultTolerantStepBuilder<I,O> |
FaultTolerantStepBuilder.listener(ChunkListener listener) |
FaultTolerantStepBuilder<I,O> |
FaultTolerantStepBuilder.listener(org.springframework.retry.RetryListener listener)
Register a retry listener.
|
FaultTolerantStepBuilder<I,O> |
FaultTolerantStepBuilder.listener(SkipListener<? super I,? super O> listener)
Register a skip listener.
|
FaultTolerantStepBuilder<I,O> |
FaultTolerantStepBuilder.noRetry(Class<? extends Throwable> type)
Explicitly ask for an exception (and subclasses) to be excluded from retry.
|
FaultTolerantStepBuilder<I,O> |
FaultTolerantStepBuilder.noRollback(Class<? extends Throwable> type)
Mark this exception as ignorable during item read or processing operations.
|
FaultTolerantStepBuilder<I,O> |
FaultTolerantStepBuilder.noSkip(Class<? extends Throwable> type)
Explicitly prevent certain exceptions (and subclasses) from being skipped.
|
FaultTolerantStepBuilder<I,O> |
FaultTolerantStepBuilder.processorNonTransactional()
Mark the item processor as non-transactional (default is the opposite).
|
FaultTolerantStepBuilder<I,O> |
FaultTolerantStepBuilder.retry(Class<? extends Throwable> type)
Explicitly ask for an exception (and subclasses) to be retried.
|
FaultTolerantStepBuilder<I,O> |
FaultTolerantStepBuilder.retryContextCache(org.springframework.retry.policy.RetryContextCache retryContextCache)
Provide an explicit retry context cache.
|
FaultTolerantStepBuilder<I,O> |
FaultTolerantStepBuilder.retryLimit(int retryLimit)
The maximum number of times to try a failed item.
|
FaultTolerantStepBuilder<I,O> |
FaultTolerantStepBuilder.retryPolicy(org.springframework.retry.RetryPolicy retryPolicy)
Provide an explicit retry policy instead of using the
retryLimit(int) and retryable exceptions provided
elsewhere. |
FaultTolerantStepBuilder<I,O> |
FaultTolerantStepBuilder.skip(Class<? extends Throwable> type)
Explicitly request certain exceptions (and subclasses) to be skipped.
|
FaultTolerantStepBuilder<I,O> |
FaultTolerantStepBuilder.skipLimit(int skipLimit)
Sets the maximium number of failed items to skip before the step fails.
|
FaultTolerantStepBuilder<I,O> |
FaultTolerantStepBuilder.skipPolicy(SkipPolicy skipPolicy)
Provide an explicit policy for managing skips.
|
Copyright © 2014 Pivotal. All rights reserved.