com.rhi.architecture.parc.adapter
Class ErrorRecordsTask
java.lang.Object
com.rhi.architecture.parc.adapter.OutputRecordsTask
com.rhi.architecture.parc.adapter.ErrorRecordsTask
- All Implemented Interfaces:
- java.lang.Cloneable, java.lang.Runnable
- public class ErrorRecordsTask
- extends OutputRecordsTask
The ErrorRecordsTask is responsible for performing processing specific to
error records by overriding method processRecords.
- Since:
- 1.0
- Author:
- Chandra Ilindra
Method Summary |
void |
processRecords(java.util.Collection records,
Transaction transaction)
Process Error records and update audit information. |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ErrorRecordsTask
public ErrorRecordsTask(AbstractOutputAdapter aoa,
int mr,
ExceptionHandler eh)
- Constructor
- Parameters:
aoa
- - reference to OutputAdaptermr
- - maximum number of retries for deadlockseh
- - the exception handler to use when reporting asynch errors.- Since:
- 1.0
processRecords
public void processRecords(java.util.Collection records,
Transaction transaction)
throws TransactionException,
ProcessingException,
AuditException
- Process Error records and update audit information.
- Specified by:
processRecords
in class OutputRecordsTask
- Parameters:
records
- transaction
-
- Throws:
TransactionException
ProcessingException
AuditException
- Since:
- 1.0
Copyright © 2002-2004 Robert Half International. All Rights Reserved.