public class TimedThreadsStorage
extends java.lang.Object
Constructor and Description |
---|
TimedThreadsStorage() |
Modifier and Type | Method and Description |
---|---|
static void |
registerThread(TimedThread thread)
Registers a new timed thread.
|
static void |
registerThread(TimedThread thread,
boolean toStart)
Registers a new timed thread.
|
static void |
stopAll()
For all the timed threads registered orders to stop.
|
public static void stopAll()
public static void registerThread(TimedThread thread)
thread
- the thread to registerpublic static void registerThread(TimedThread thread, boolean toStart)
thread
- the thread to registertoStart
- if the thread must be implicitly started here