|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.rhi.architecture.parc.adapter.OutputRecordsTask
The OutputRecordsTask encapsulates generic processing required for processing OutputAdapter records. Derived classes override processRecords method to perform processing specific to type of output records.
Field Summary | |
protected AbstractOutputAdapter |
parent
|
Constructor Summary | |
OutputRecordsTask(AbstractOutputAdapter aoa,
int mr,
ExceptionHandler eh)
Constructor |
Method Summary | |
java.lang.Object |
clone()
Simple Object based clone() method. |
protected abstract void |
processRecords(java.util.Collection records,
Transaction transacttion)
Abstract method overriden by the concreate classes to perform processing specific to each subclass. |
void |
run()
This is core processing logic method run by this task. |
void |
setRecords(java.util.Collection recs)
sets the records to be processed by this task. |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected AbstractOutputAdapter parent
Constructor Detail |
public OutputRecordsTask(AbstractOutputAdapter aoa, int mr, ExceptionHandler eh)
aoa
- - reference to OutputAdaptermr
- - maximum number of retries for deadlockseh
- - the exception handler to use when reporting asynch errors.Method Detail |
public void setRecords(java.util.Collection recs)
recs
- - the records to process.public void run()
run
in interface java.lang.Runnable
protected abstract void processRecords(java.util.Collection records, Transaction transacttion) throws TransactionException, ProcessingException, AuditException
records
- transacttion
-
TransactionException
ProcessingException
AuditException
public java.lang.Object clone()
Object
based clone() method.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |