public class AbstractJavaTestPeriodicThread
extends java.lang.Thread
AbstractJavaTestPeriodicThreadInterface
Constructor and Description |
---|
AbstractJavaTestPeriodicThread(AbstractJavaTest abstractJavaTest,
long intervalMillis,
AbstractJavaTestPeriodicThreadInterface periodicThreadInterface)
Create a new instance.
|
Modifier and Type | Method and Description |
---|---|
void |
run()
Internal thread method.
|
activeCount, checkAccess, 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
public AbstractJavaTestPeriodicThread(AbstractJavaTest abstractJavaTest, long intervalMillis, AbstractJavaTestPeriodicThreadInterface periodicThreadInterface)
abstractJavaTest
- the context of the simulated userintervalMillis
- the periodic interval in millisecondsperiodicThreadInterface
- the implementation of the AbstractJavaTestPeriodicThreadInterface