|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
The InputAdapter is responsible for selecting a set of work for processing and pushing it into the Channel for processing..
| Method Summary | |
void |
addToErrorChannel(Record record)
The concrete input adapter can use this method to add error records to the error channel while maintaining the correct audit entries for valid (returned from loadBatch() & pushed into the normal pipeline channel) & errors (added by calling addError() & pushed into the error channel. |
int |
push(Channel ch)
Send a set of records requiring processing to the pipeline. |
void |
setErrorChannel(Channel errorChannel)
set the error channel. |
| Methods inherited from interface com.rhi.architecture.parc.Adapter |
cleanup, getAuditAgent, init, setAuditAgent |
| Method Detail |
public int push(Channel ch)
throws ProcessingException
ch - where input records should be sent.
ProcessingException - error occured selecting
records.public void setErrorChannel(Channel errorChannel)
errorChannel - public void addToErrorChannel(Record record)
record -
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||