public class AggregatorFieldProcessor extends DeclNPLFieldProcessor implements java.lang.Runnable
Modifier and Type | Field and Description |
---|---|
protected AggrConfig |
configHandler |
static float |
diffTimeSec |
protected AggrCalcFields |
fieldCalc |
static int |
fileNum |
protected FlushConditions |
flushConditions |
protected TableFlush |
flushHandler |
protected GPRSAggregatorModule |
gprsModule |
protected int[] |
init_fields |
protected int[] |
initFields |
protected boolean |
isSleeping |
protected AggrKeyFactory |
keyFactory |
static int |
narsProcessed |
protected AggregatorNode |
node |
protected static int |
NODE_TYPE |
protected java.lang.String |
nodeId |
static float |
nps |
protected boolean |
okToShutDown |
protected long |
processingInterval |
protected AggrShifter |
shifter |
protected int |
shutDownCheckDelay |
protected boolean |
shuttingDown |
protected DCStreamHandler |
streamHandler |
protected AggrTable |
tableHandler |
protected TimeGrouper |
timeGrouper |
protected TimerFlush |
timerFlushHandler |
protected java.io.File |
traceFile |
protected AggrUtilityFields |
utilFields |
protected VOIPAggregatorModule |
voipModule |
Constructor and Description |
---|
AggregatorFieldProcessor(java.lang.String fileName,
AggregatorNode node,
long processingInterval,
java.io.File traceFile)
Creates an aggregator field processor
|
Modifier and Type | Method and Description |
---|---|
protected NAR |
createNewRecord(NAR incoming) |
void |
dataIsAvailable()
Allows a DataProvider to indicate that some data is
available for processing
|
protected void |
getConfigData() |
protected void |
init() |
boolean |
isHealthy() |
static void |
main(java.lang.String[] args) |
void |
processData(DCFieldContainer incomingDCFC)
Manipulates the data provided by its DataProvider
|
void |
processData(DCFieldContainer[] incomingDCFCs)
Manipulates the set of data provided by its DataProvider
|
void |
run()
This is the main run thread, containing the central
processing loop.
|
void |
shutdown()
Shuts down the aggregator's field processor thread.
|
getBulkData, getData, getLogger, getNPLConfig, getNPLFileName, getNPLProgram, handleRejectOfFile, isDataAvailable, setNPLFileName
fileDataIsAvailable, getCurrArchFile, getData, getDataProvider, getDataReceiver, getDiscardedCounter, getFileBulkData, getFileData, getFileDataProvider, getFileDataReceiver, getOutputType, getPollForData, getProcessedArchFile, isEndOfFile, isFileDataAvailable, isStartOfFile, openInputFile, processEndOfFileData, processFileData, processFileData, processRejectFile, processStartOfFileData, rejectFile, removeProcessedFile, setbulkIOConfig, setBulkProcessing, setDataProvider, setDataReceiver, setDiscardedCounter, setFileDataProvider, setFileDataReceiver, setMultiThreadConfig, setOutputType, setPollForData, setProcessedArchFile, setTransactionID, signalBatchCompletion, validOIMinorType
protected boolean okToShutDown
protected boolean shuttingDown
protected boolean isSleeping
protected int shutDownCheckDelay
protected int[] initFields
protected AggrConfig configHandler
protected DCStreamHandler streamHandler
protected java.lang.String nodeId
protected AggregatorNode node
protected long processingInterval
protected java.io.File traceFile
protected int[] init_fields
protected static int NODE_TYPE
protected AggrTable tableHandler
protected AggrKeyFactory keyFactory
protected TableFlush flushHandler
protected TimerFlush timerFlushHandler
protected FlushConditions flushConditions
protected AggrCalcFields fieldCalc
protected AggrShifter shifter
protected TimeGrouper timeGrouper
protected AggrUtilityFields utilFields
protected GPRSAggregatorModule gprsModule
protected VOIPAggregatorModule voipModule
public static int fileNum
public static int narsProcessed
public static float diffTimeSec
public static float nps
public AggregatorFieldProcessor(java.lang.String fileName, AggregatorNode node, long processingInterval, java.io.File traceFile)
protected void init()
protected void getConfigData()
public void shutdown()
shutdown
in class DeclNPLFieldProcessor
public void run()
run
in interface java.lang.Runnable
run
in class DeclNPLFieldProcessor
public void dataIsAvailable()
DataReceiverIfc
dataIsAvailable
in interface DataReceiverIfc
dataIsAvailable
in class DeclNPLFieldProcessor
public void processData(DCFieldContainer incomingDCFC)
DataReceiverIfc
processData
in interface DataReceiverIfc
processData
in class DeclNPLFieldProcessor
public void processData(DCFieldContainer[] incomingDCFCs)
DataReceiverIfc
processData
in interface DataReceiverIfc
processData
in class DeclNPLFieldProcessor
public static void main(java.lang.String[] args)
public boolean isHealthy()