T - the type of record to dispatchpublic abstract class AbstractRecordDispatcher<T extends Record> extends Object implements RecordDispatcher<T>
| Constructor and Description |
|---|
AbstractRecordDispatcher() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
dispatchRecord(T record) |
T |
processRecord(T record)
Dispatch record to a worker.
|
public T processRecord(T record) throws RecordDispatchingException
RecordDispatcherprocessRecord in interface RecordDispatcher<T extends Record>processRecord in interface RecordProcessor<T extends Record,T extends Record>record - the record to dispatch.RecordDispatchingException - if an error occurs when dispatching the recordCopyright © 2015. All Rights Reserved.