Package | Description |
---|---|
org.springframework.batch.core.resource | |
org.springframework.batch.core.step.builder | |
org.springframework.batch.core.step.factory | |
org.springframework.batch.repeat.policy |
Infrastructure implementations of repeat policy concerns.
|
org.springframework.batch.repeat.support |
Infrastructure implementations of repeat support concerns.
|
Modifier and Type | Class and Description |
---|---|
class |
StepExecutionSimpleCompletionPolicy
A
CompletionPolicy that picks up a commit interval from
JobParameters by listening to the start of a step. |
Modifier and Type | Method and Description |
---|---|
SimpleStepBuilder<I,O> |
SimpleStepBuilder.chunk(CompletionPolicy completionPolicy)
Sets a completion policy for the chunk processing.
|
<I,O> SimpleStepBuilder<I,O> |
StepBuilder.chunk(CompletionPolicy completionPolicy)
Build a step that processes items in chunks with the completion policy provided.
|
Modifier and Type | Method and Description |
---|---|
void |
SimpleStepFactoryBean.setChunkCompletionPolicy(CompletionPolicy chunkCompletionPolicy)
Public setter for the
CompletionPolicy applying to the chunk level. |
Modifier and Type | Class and Description |
---|---|
class |
CompletionPolicySupport
Very simple base class for
CompletionPolicy implementations. |
class |
CompositeCompletionPolicy
Composite policy that loops through a list of delegate policies and answers
calls by a concensus.
|
class |
CountingCompletionPolicy
Abstract base class for policies that need to count the number of occurrences
of some event (e.g.
|
class |
DefaultResultCompletionPolicy
Very simple
CompletionPolicy that bases its decision on the result of
a batch operation. |
class |
SimpleCompletionPolicy
Policy for terminating a batch after a fixed number of operations.
|
class |
TimeoutTerminationPolicy
Termination policy that times out after a fixed period.
|
Modifier and Type | Method and Description |
---|---|
void |
CompositeCompletionPolicy.setPolicies(CompletionPolicy[] policies)
Setter for the policies.
|
Modifier and Type | Method and Description |
---|---|
void |
RepeatTemplate.setCompletionPolicy(CompletionPolicy terminationPolicy)
Setter for policy to decide when the batch is complete.
|
Copyright © 2014 Pivotal. All rights reserved.