Package edu.sc.seis.sod
Class WaveformArm
java.lang.Object
java.lang.Thread
edu.sc.seis.sod.WaveformArm
- All Implemented Interfaces:
Arm
,java.lang.Runnable
public class WaveformArm extends java.lang.Thread implements Arm
-
Nested Class Summary
-
Field Summary
Fields Modifier and Type Field Description protected static java.time.Instant
lastECP
-
Constructor Summary
Constructors Constructor Description WaveformArm(int nextProcessorNum, AbstractWaveformRecipe waveformRecipe)
-
Method Summary
Modifier and Type Method Description protected static void
createEventNetworkPairs(edu.sc.seis.sod.model.event.StatefulEvent ev)
protected static AbstractEventPair
getNext()
int
getProcessorNum()
static int
getProcessorsWorking()
AbstractWaveformRecipe
getRecipe()
boolean
isActive()
void
run()
Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, suspend, toString, yield
-
Field Details
-
lastECP
protected static java.time.Instant lastECP
-
-
Constructor Details
-
Method Details
-
run
public void run()- Specified by:
run
in interfacejava.lang.Runnable
- Overrides:
run
in classjava.lang.Thread
-
isActive
public boolean isActive() -
getNext
-
createEventNetworkPairs
protected static void createEventNetworkPairs(edu.sc.seis.sod.model.event.StatefulEvent ev) -
getProcessorNum
public int getProcessorNum() -
getRecipe
-
getProcessorsWorking
public static int getProcessorsWorking()
-