|
Voyager ORB | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.objectspace.lib.timer.TimerGroup
A TimerGroup manages a collection of zero or more Timer objects. Each TimerGroup has a daemon thread and a vector of timers ordered according to the time of their next alarm. The thread sleeps until the time of the next alarm and then wakes up and delivers an alarm event to all the associated timer's listeners.
Timer
Constructor Summary | |
TimerGroup()
Use a thread of Thread.NORM_PRIORITY to manage timers. |
|
TimerGroup(int priority)
Use a thread of the specified priority to manage timers. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public TimerGroup()
public TimerGroup(int priority)
priority
- The priority of the thread to use.
|
ObjectSpace Inc. | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |