Voyager ORB

com.objectspace.lib.timer
Class TimerGroup

java.lang.Object
  |
  +--com.objectspace.lib.timer.TimerGroup

public class TimerGroup
extends java.lang.Object
implements java.lang.Runnable

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.

Version:
3.0
See Also:
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

TimerGroup

public TimerGroup()
Use a thread of Thread.NORM_PRIORITY to manage timers.

TimerGroup

public TimerGroup(int priority)
Use a thread of the specified priority to manage timers.
Parameters:
priority - The priority of the thread to use.

ObjectSpace Inc.

(c) Copyright 1997-1999 ObjectSpace, Inc.
14850 Quorum Drive, Suite 500
Dallas, Texas 75240