public class Dummy extends ModuleAdapter
ModuleAdapter.RateCalculatorThread
Modifier and Type | Field and Description |
---|---|
com.lmax.disruptor.SequenceBarrier[] |
buildBarrierIn
For each input channel, all event-moving threads share one barrier.
|
com.lmax.disruptor.Sequence[][] |
buildSequenceIn
For each input channel, 1 sequence per event-moving thread.
|
attributeMap, avgEventSize, emu, endCallback, epThreadsSetInConfig, errorMsg, eventCountTotal, eventProducingThreads, eventRate, goodChunk_X_EtBufSize, id, inputChanLevels, inputChanNames, inputChannelCount, inputChannels, logger, maxEventSize, minEventSize, moduleState, name, outputChanLevels, outputChanNames, outputChannelCount, outputChannels, outputOrder, paused, prestartCallback, RateCalculator, representStatistics, statGatheringPeriod, statistics, timeStatsOn, timeToBuild, wordCountTotal, wordRate
Constructor and Description |
---|
Dummy(java.lang.String name,
java.util.Map<java.lang.String,java.lang.String> attributeMap,
Emu emu)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
end()
This method implements the END transition of the CODA run control state machine.
|
void |
go()
This method implements the GO transition of the CODA run control state machine.
|
void |
pause()
This method implements the PAUSE transition of the CODA run control state machine.
|
void |
prestart()
This method implements the PRESTART transition of the CODA run control state machine.
|
void |
reset()
This method implements the RESET transition of the CODA run control state machine.
|
addInputChannels, addOutputChannels, adjustStatistics, clearChannels, download, eventToOutputChannel, eventToOutputChannel, getAttr, getEndCallback, getError, getEventProducingThreadCount, getInputChannels, getInputLevels, getInputNames, getIntAttr, getInternalRingCount, getOutputChannels, getOutputLevels, getOutputNames, getOutputOrder, getPrestartCallback, getStatistics, name, registerEndCallback, registerPrestartCallback, representsEmuStatistics, state
public com.lmax.disruptor.Sequence[][] buildSequenceIn
public com.lmax.disruptor.SequenceBarrier[] buildBarrierIn
public Dummy(java.lang.String name, java.util.Map<java.lang.String,java.lang.String> attributeMap, Emu emu)
name
- name of moduleattributeMap
- map containing attributes of moduleemu
- emu that contains this modulepublic void reset()
reset
in interface CODAStateMachine
reset
in class ModuleAdapter
public void end() throws CmdExecException
end
in interface CODAStateMachine
end
in class ModuleAdapter
CmdExecException
- if error during command execution.public void prestart() throws CmdExecException
prestart
in interface CODAStateMachine
prestart
in class ModuleAdapter
CmdExecException
- if error during command execution.public void pause()
pause
in interface CODAStateMachine
pause
in class ModuleAdapter
public void go() throws CmdExecException
go
in interface CODAStateMachine
go
in class ModuleAdapter
CmdExecException
- if error during command execution.