Package | Description |
---|---|
javax.realtime |
Jamaica's implementation of the Real-Time Specification for Java.
|
Modifier and Type | Method and Description |
---|---|
static TimeDispatcher |
TimeDispatcher.getDefaultDispatcher() |
TimeDispatcher |
Timer.getDispatcher()
Obtain the current dispatcher for this event.
|
TimeDispatcher |
Timer.setDispatcher(TimeDispatcher dispatcher)
Change the current dispatcher for this event.
|
Modifier and Type | Method and Description |
---|---|
static void |
TimeDispatcher.setDefaultDispatcher(TimeDispatcher dispatcher)
Sets the system default time dispatcher.
|
TimeDispatcher |
Timer.setDispatcher(TimeDispatcher dispatcher)
Change the current dispatcher for this event.
|
Constructor and Description |
---|
OneShotTimer(HighResolutionTime<?> time,
AsyncEventHandler handler,
TimeDispatcher dispatcher)
Creates an instance of
OneShotTimer , based on the given
clock , that will execute its fire method
according to the given time. |
PeriodicTimer(HighResolutionTime<?> start,
RelativeTime interval,
AsyncEventHandler handler,
TimeDispatcher dispatcher)
Creates a timer that executes its fire method periodically.
|
Timer(HighResolutionTime<?> time,
AsyncEventHandler handler,
TimeDispatcher dispatcher)
Creates a timer that fires according to the given
time based
on the Clock associated with time and is dispatched
by the specified dispatcher . |
aicas GmbH, Karlsruhe, Germany —www.aicas.com
Copyright © 2001-2024 aicas GmbH. All Rights Reserved.