public class Chunk extends Object
The following schema fragment specifies the expected content contained within this class.
<complexType name="Chunk"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="reader" type="{http://xmlns.jcp.org/xml/ns/javaee}ItemReader"/> <element name="processor" type="{http://xmlns.jcp.org/xml/ns/javaee}ItemProcessor" minOccurs="0"/> <element name="writer" type="{http://xmlns.jcp.org/xml/ns/javaee}ItemWriter"/> <element name="checkpoint-algorithm" type="{http://xmlns.jcp.org/xml/ns/javaee}CheckpointAlgorithm" minOccurs="0"/> <element name="skippable-exception-classes" type="{http://xmlns.jcp.org/xml/ns/javaee}ExceptionClassFilter" minOccurs="0"/> <element name="retryable-exception-classes" type="{http://xmlns.jcp.org/xml/ns/javaee}ExceptionClassFilter" minOccurs="0"/> <element name="no-rollback-exception-classes" type="{http://xmlns.jcp.org/xml/ns/javaee}ExceptionClassFilter" minOccurs="0"/> </sequence> <attribute name="checkpoint-policy" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="item-count" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="time-limit" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="skip-limit" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="retry-limit" type="{http://www.w3.org/2001/XMLSchema}string" /> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected CheckpointAlgorithm |
checkpointAlgorithm |
protected String |
checkpointPolicy |
protected String |
itemCount |
protected ExceptionClassFilter |
noRollbackExceptionClasses |
protected ItemProcessor |
processor |
protected ItemReader |
reader |
protected ExceptionClassFilter |
retryableExceptionClasses |
protected String |
retryLimit |
protected String |
skipLimit |
protected ExceptionClassFilter |
skippableExceptionClasses |
protected String |
timeLimit |
protected ItemWriter |
writer |
Constructor and Description |
---|
Chunk() |
Modifier and Type | Method and Description |
---|---|
CheckpointAlgorithm |
getCheckpointAlgorithm()
Gets the value of the checkpointAlgorithm property.
|
String |
getCheckpointPolicy()
Gets the value of the checkpointPolicy property.
|
String |
getItemCount()
Gets the value of the itemCount property.
|
ExceptionClassFilter |
getNoRollbackExceptionClasses()
Gets the value of the noRollbackExceptionClasses property.
|
ItemProcessor |
getProcessor()
Gets the value of the processor property.
|
ItemReader |
getReader()
Gets the value of the reader property.
|
ExceptionClassFilter |
getRetryableExceptionClasses()
Gets the value of the retryableExceptionClasses property.
|
String |
getRetryLimit()
Gets the value of the retryLimit property.
|
String |
getSkipLimit()
Gets the value of the skipLimit property.
|
ExceptionClassFilter |
getSkippableExceptionClasses()
Gets the value of the skippableExceptionClasses property.
|
String |
getTimeLimit()
Gets the value of the timeLimit property.
|
ItemWriter |
getWriter()
Gets the value of the writer property.
|
void |
setCheckpointAlgorithm(CheckpointAlgorithm value)
Sets the value of the checkpointAlgorithm property.
|
void |
setCheckpointPolicy(String value)
Sets the value of the checkpointPolicy property.
|
void |
setItemCount(String value)
Sets the value of the itemCount property.
|
void |
setNoRollbackExceptionClasses(ExceptionClassFilter value)
Sets the value of the noRollbackExceptionClasses property.
|
void |
setProcessor(ItemProcessor value)
Sets the value of the processor property.
|
void |
setReader(ItemReader value)
Sets the value of the reader property.
|
void |
setRetryableExceptionClasses(ExceptionClassFilter value)
Sets the value of the retryableExceptionClasses property.
|
void |
setRetryLimit(String value)
Sets the value of the retryLimit property.
|
void |
setSkipLimit(String value)
Sets the value of the skipLimit property.
|
void |
setSkippableExceptionClasses(ExceptionClassFilter value)
Sets the value of the skippableExceptionClasses property.
|
void |
setTimeLimit(String value)
Sets the value of the timeLimit property.
|
void |
setWriter(ItemWriter value)
Sets the value of the writer property.
|
protected ItemReader reader
protected ItemProcessor processor
protected ItemWriter writer
protected CheckpointAlgorithm checkpointAlgorithm
protected ExceptionClassFilter skippableExceptionClasses
protected ExceptionClassFilter retryableExceptionClasses
protected ExceptionClassFilter noRollbackExceptionClasses
protected String checkpointPolicy
protected String itemCount
protected String timeLimit
protected String skipLimit
protected String retryLimit
public ItemReader getReader()
ItemReader
public void setReader(ItemReader value)
value
- allowed object is
ItemReader
public ItemProcessor getProcessor()
ItemProcessor
public void setProcessor(ItemProcessor value)
value
- allowed object is
ItemProcessor
public ItemWriter getWriter()
ItemWriter
public void setWriter(ItemWriter value)
value
- allowed object is
ItemWriter
public CheckpointAlgorithm getCheckpointAlgorithm()
CheckpointAlgorithm
public void setCheckpointAlgorithm(CheckpointAlgorithm value)
value
- allowed object is
CheckpointAlgorithm
public ExceptionClassFilter getSkippableExceptionClasses()
ExceptionClassFilter
public void setSkippableExceptionClasses(ExceptionClassFilter value)
value
- allowed object is
ExceptionClassFilter
public ExceptionClassFilter getRetryableExceptionClasses()
ExceptionClassFilter
public void setRetryableExceptionClasses(ExceptionClassFilter value)
value
- allowed object is
ExceptionClassFilter
public ExceptionClassFilter getNoRollbackExceptionClasses()
ExceptionClassFilter
public void setNoRollbackExceptionClasses(ExceptionClassFilter value)
value
- allowed object is
ExceptionClassFilter
public String getCheckpointPolicy()
String
public void setCheckpointPolicy(String value)
value
- allowed object is
String
public String getItemCount()
String
public void setItemCount(String value)
value
- allowed object is
String
public String getTimeLimit()
String
public void setTimeLimit(String value)
value
- allowed object is
String
public String getSkipLimit()
String
public void setSkipLimit(String value)
value
- allowed object is
String
public String getRetryLimit()
String
Copyright © 2017 The Apache Software Foundation. All rights reserved.