< Zurück | Inhalt | Weiter >

18.8 TimerThread

The J3D−TimerThread manages:


Any number of WakeupOnElapsedTime objects, stored in a WakeupOnElaspsedTimeHeap

(sorted, resizable array)

1 InputDeviceScheduler (sampling time loaded from System property)

1 SoundScheduler (WakeupOnElapsedTime every 2 minutes, by default)


The TimerThread will call the setTriggered method on each WakeupOnElapsedTime as appropriate.