RecordProcessor
.public abstract class DataProcessor extends RecordProcessor
Executor
.Modifier | Constructor and Description |
---|---|
protected |
DataProcessor(Executor executor)
Deprecated.
Constructs new data processor for the specified executor.
|
Modifier and Type | Method and Description |
---|---|
protected void |
process(RecordSource source)
Deprecated.
Method for processing incoming records.
|
protected abstract void |
processData(RecordSource source)
Deprecated.
Method for processing incoming data from QD.
|
void |
startProcessing(DataProvider provider)
Deprecated.
Starts processing for the specified
DataProvider . |
hasMoreToProcess, signalNoMoreToProcess, startProcessing, stopProcessing
protected DataProcessor(Executor executor)
NullPointerException
- if executor is null.protected abstract void processData(RecordSource source)
DataProcessor
calls this method in Executor
thread.protected final void process(RecordSource source)
RecordProcessor
RecordProcessor
calls this method in Executor
thread.process
in class RecordProcessor
public void startProcessing(DataProvider provider)
DataProvider
.
This method may be called at most once after construction.NullPointerException
- if provider
is null.IllegalStateException
- if called multiple times. It is checked weakly to ensure fail-fast error detection
behaviour. There is no strict thread-safe guarantee for this exception to be thrown if this method is called
concurrently from multiple threads.Copyright © 2002–2025 Devexperts LLC. All rights reserved.