class FastEventBuilder.BuildingThread
extends java.lang.Thread
This thread is started by the PRESTART transition. An empty buffer is obtained from a supply. One evio bank from each input channel are together built into a new event in that buffer. If this module has outputs, the built events are placed on an output channel.
If there are multiple output channels, in default operation, this thread selects an output by round-robin. If however, this is a DC with multiple SEBs to send events to, then things are more complicated.
Constructor and Description |
---|
BuildingThread(int btIndex,
java.lang.ThreadGroup group,
java.lang.String name)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
(package private) int |
getInputLevel(int chanIndex)
Get the input level (how full is the ring buffer 0-100) of a single input channel
|
void |
run() |
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
BuildingThread(int btIndex, java.lang.ThreadGroup group, java.lang.String name)
btIndex
- place in relation to other build threads (first = 0)group
- thread groupname
- thread nameint getInputLevel(int chanIndex)
chanIndex
- index of channel (starting at 0)public void run()
run
in interface java.lang.Runnable
run
in class java.lang.Thread