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()
ItemReaderpublic void setReader(ItemReader value)
value - allowed object is
ItemReaderpublic ItemProcessor getProcessor()
ItemProcessorpublic void setProcessor(ItemProcessor value)
value - allowed object is
ItemProcessorpublic ItemWriter getWriter()
ItemWriterpublic void setWriter(ItemWriter value)
value - allowed object is
ItemWriterpublic CheckpointAlgorithm getCheckpointAlgorithm()
CheckpointAlgorithmpublic void setCheckpointAlgorithm(CheckpointAlgorithm value)
value - allowed object is
CheckpointAlgorithmpublic ExceptionClassFilter getSkippableExceptionClasses()
ExceptionClassFilterpublic void setSkippableExceptionClasses(ExceptionClassFilter value)
value - allowed object is
ExceptionClassFilterpublic ExceptionClassFilter getRetryableExceptionClasses()
ExceptionClassFilterpublic void setRetryableExceptionClasses(ExceptionClassFilter value)
value - allowed object is
ExceptionClassFilterpublic ExceptionClassFilter getNoRollbackExceptionClasses()
ExceptionClassFilterpublic void setNoRollbackExceptionClasses(ExceptionClassFilter value)
value - allowed object is
ExceptionClassFilterpublic String getCheckpointPolicy()
Stringpublic void setCheckpointPolicy(String value)
value - allowed object is
Stringpublic String getItemCount()
Stringpublic void setItemCount(String value)
value - allowed object is
Stringpublic String getTimeLimit()
Stringpublic void setTimeLimit(String value)
value - allowed object is
Stringpublic String getSkipLimit()
Stringpublic void setSkipLimit(String value)
value - allowed object is
Stringpublic String getRetryLimit()
StringCopyright © 2022 The Apache Software Foundation. All rights reserved.