|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gcube.vremanagement.resourcebroker.impl.support.threads.TimedThreadsStorage
public class TimedThreadsStorage
All the timed threads are registered here in order to invoke their end at shutdown of the BrokerService.
Constructor Summary | |
---|---|
TimedThreadsStorage()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TimedThreadsStorage()
Method Detail |
---|
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |