Package | Description |
---|---|
javax.realtime |
Jamaica's implementation of the Real-Time Specification for Java.
|
javax.realtime.control | |
javax.realtime.memory |
Modifier and Type | Class and Description |
---|---|
class |
HighResolutionTime<T extends HighResolutionTime<T>>
Class
HighResolutionTime is the base class for AbsoluteTime
and RelativeTime . |
Modifier and Type | Class and Description |
---|---|
class |
AbsoluteTime
Jamaica Real-Time Specification for Java class AbsoluteTime.
|
class |
ChainableAbsoluteTime
A subclass of Absolute time that can be singularly linked.
|
class |
RationalTime
Deprecated.
RTSJ V1.0.1 class RationalTime is deprecated
|
class |
RelativeTime
Jamaica Real-Time Specification for Java class RelativeTime.
|
Modifier and Type | Method and Description |
---|---|
HighResolutionTime<?> |
ProcessingGroupParameters.getStart()
getStart returns the current start time
|
HighResolutionTime<?> |
PeriodicParameters.getStart()
getStart returns the start time.
|
Modifier and Type | Method and Description |
---|---|
void |
ScopedMemory.join(HighResolutionTime<?> time)
Waits at most until the time designated by the
time parameter for
the reference count of this ScopedMemory to drop to zero. |
void |
ScopedMemory.joinAndEnter(HighResolutionTime<?> time)
In the error-free case,
joinAndEnter() combines
join();enter(); such that no enter() from
another schedulable can intervene between the two method invocations. |
void |
ScopedMemory.joinAndEnter(Runnable logic,
HighResolutionTime<?> time)
In the error-free case,
joinAndEnter() combines
join();enter(); such that no enter() from another
schedulable can intervene between the two method invocations. |
void |
Timer.reschedule(HighResolutionTime<?> time)
reschedule changes the time for this event.
|
void |
Timed.resetTime(HighResolutionTime<?> time)
resetTime sets the time out for the next invocation of
doInterruptible to a new value.
|
void |
ProcessingGroupParameters.setStart(HighResolutionTime<?> start)
setStart sets the start time to a new value.
|
PeriodicParameters |
PeriodicParameters.setStart(HighResolutionTime<?> start)
setStart set the start time.
|
static void |
RealtimeThread.sleep(Clock clock,
HighResolutionTime<?> time)
Sleep for a given relative or absolute time using the given
clock.
|
static void |
RealtimeThread.sleep(HighResolutionTime<?> time)
Sleep for a given relative or absolute time using the clock
associated with time.
|
static boolean |
HighResolutionTime.waitForObject(Object target,
HighResolutionTime<?> time)
waitForObject waits for the given object using a
HighResolutionTime as timeout.
|
Constructor and Description |
---|
OneShotTimer(HighResolutionTime<?> time,
AsyncBaseEventHandler handler)
Constructor to create an instance with given time and handler.
|
OneShotTimer(HighResolutionTime<?> time,
AsyncEventHandler handler)
Constructor to create an instance with given time and handler.
|
OneShotTimer(HighResolutionTime<?> start,
Clock clock,
AsyncBaseEventHandler handler)
Constructor to create an instance with given time, clock and
handler.
|
OneShotTimer(HighResolutionTime<?> start,
Clock clock,
AsyncEventHandler handler)
Constructor to create an instance with given time, clock and
handler.
|
PeriodicParameters(HighResolutionTime<?> start,
RelativeTime period)
Create a PeriodicParameters object.
|
PeriodicParameters(HighResolutionTime<?> start,
RelativeTime period,
RelativeTime deadline,
AsyncEventHandler missHandler,
boolean rousable)
Equivalent to
PeriodicParameters.PeriodicParameters(HighResolutionTime,
RelativeTime, RelativeTime, RelativeTime, AsyncEventHandler,
AsyncEventHandler, boolean) with the argument list
(start, period, deadline, null, null, missHandler, rousable) ; |
PeriodicParameters(HighResolutionTime<?> start,
RelativeTime period,
RelativeTime cost,
RelativeTime deadline,
AsyncEventHandler overrunHandler,
AsyncEventHandler missHandler)
Constructor to create an instance of PeriodicParameters with the
given initial settings.
|
PeriodicParameters(HighResolutionTime<?> start,
RelativeTime period,
RelativeTime cost,
RelativeTime deadline,
AsyncEventHandler overrunHandler,
AsyncEventHandler missHandler,
boolean rousable)
Creates a
PeriodicParameters object with attributes set to
the specified values. |
PeriodicTimer(HighResolutionTime<?> start,
RelativeTime interval,
AsyncBaseEventHandler handler)
Constructor to create an instance with given time, interval and
handler.
|
PeriodicTimer(HighResolutionTime<?> start,
RelativeTime interval,
AsyncEventHandler handler)
Constructor to create an instance with given time, interval and
handler.
|
PeriodicTimer(HighResolutionTime<?> start,
RelativeTime interval,
Clock clock,
AsyncBaseEventHandler handler)
Constructor to create an instance with given time, interval,
clock and handler.
|
PeriodicTimer(HighResolutionTime<?> start,
RelativeTime interval,
Clock clock,
AsyncEventHandler handler)
Constructor to create an instance with given time, interval,
clock and handler.
|
ProcessingGroupParameters(HighResolutionTime<?> start,
RelativeTime period,
RelativeTime cost,
RelativeTime deadline,
AsyncEventHandler overrunHandler,
AsyncEventHandler missHandler)
Constructor to create a new instance of
ProcessingGroupParameters.
|
Timed(HighResolutionTime<?> time)
Constructor to create a new instance of Timed with the given time
out.
|
Timer(HighResolutionTime<?> time,
Clock clock,
AsyncBaseEventHandler handler)
Constructor to create a timer with the given time, clock and
handler.
|
Modifier and Type | Method and Description |
---|---|
void |
Timed.resetTime(HighResolutionTime<?> time)
resetTime sets the time out for the next invocation of
doInterruptible to a new value.
|
Constructor and Description |
---|
Timed(HighResolutionTime<?> time)
Constructor to create a new instance of Timed with the given time
out.
|
Modifier and Type | Method and Description |
---|---|
void |
ScopedMemory.join(HighResolutionTime<?> time)
Waits at most until the time designated by the
time parameter for
the reference count of this ScopedMemory to drop to zero. |
boolean |
ScopedMemory.joinAndEnter(BooleanSupplier logic,
HighResolutionTime<?> time)
Same as
ScopedMemory.joinAndEnter(Runnable, HighResolutionTime) except that
the executed method is called get and a boolean
is returned. |
double |
ScopedMemory.joinAndEnter(DoubleSupplier logic,
HighResolutionTime<?> time)
Same as
ScopedMemory.joinAndEnter(Runnable, HighResolutionTime) except that
the executed method is called get and a double
is returned. |
void |
ScopedMemory.joinAndEnter(HighResolutionTime<?> time)
In the error-free case,
joinAndEnter combines
join();enter(); such that no enter() from another
schedulable can intervene between the two method invocations. |
int |
ScopedMemory.joinAndEnter(IntSupplier logic,
HighResolutionTime<?> time)
Same as
ScopedMemory.joinAndEnter(Runnable, HighResolutionTime) except that
the executed method is called get and an int
is returned. |
long |
ScopedMemory.joinAndEnter(LongSupplier logic,
HighResolutionTime<?> time)
Same as
ScopedMemory.joinAndEnter(Runnable, HighResolutionTime) except that
the executed method is called get and a long
is returned. |
void |
ScopedMemory.joinAndEnter(Runnable logic,
HighResolutionTime<?> time)
In the error-free case,
joinAndEnter combines
join();enter(); such that no enter() from another
schedulable can intervene between the two method invocations. |
<P> P |
ScopedMemory.joinAndEnter(Supplier<P> logic,
HighResolutionTime<?> time)
Same as
ScopedMemory.joinAndEnter(Runnable, HighResolutionTime) except that
the executed method is called get and an object
is returned. |
boolean |
ScopedMemory.joinAndEnterInternal(BooleanSupplier logic,
HighResolutionTime<?> time)
Same as
ScopedMemory.joinAndEnterInternal(Runnable, HighResolutionTime)
except that the executed method is called get and a
boolean is returned. |
double |
ScopedMemory.joinAndEnterInternal(DoubleSupplier logic,
HighResolutionTime<?> time)
Same as
ScopedMemory.joinAndEnterInternal(Runnable, HighResolutionTime)
except that the executed method is called get and a double
is returned. |
int |
ScopedMemory.joinAndEnterInternal(IntSupplier logic,
HighResolutionTime<?> time)
Same as
ScopedMemory.joinAndEnterInternal(Runnable, HighResolutionTime)
except that the executed method is called get and an int
is returned. |
long |
ScopedMemory.joinAndEnterInternal(LongSupplier logic,
HighResolutionTime<?> time)
Same as
ScopedMemory.joinAndEnterInternal(Runnable, HighResolutionTime)
except that the executed method is called get and a long
is returned. |
<P> P |
ScopedMemory.joinAndEnterInternal(Supplier<P> logic,
HighResolutionTime<?> time)
Same as
ScopedMemory.joinAndEnterInternal(Runnable, HighResolutionTime)
except that the executed method is called get and an object
is returned. |
boolean |
PinnableMemory.joinAndEnterPinned(BooleanSupplier logic,
HighResolutionTime<?> limit)
Same as
PinnableMemory.joinAndEnterPinned(Runnable, HighResolutionTime) except
that the executed method is called get and a boolean
is returned. |
double |
PinnableMemory.joinAndEnterPinned(DoubleSupplier logic,
HighResolutionTime<?> limit)
Same as
PinnableMemory.joinAndEnterPinned(Runnable, HighResolutionTime) except
that the executed method is called get and a double
is returned. |
void |
PinnableMemory.joinAndEnterPinned(HighResolutionTime<?> limit)
Same as
ScopedMemory.joinAndEnter(HighResolutionTime)
except that pinning is ignored so the memory may not have been cleared. |
int |
PinnableMemory.joinAndEnterPinned(IntSupplier logic,
HighResolutionTime<?> limit)
Same as
PinnableMemory.joinAndEnterPinned(Runnable, HighResolutionTime) except
that the executed method is called get and an int
is returned. |
long |
PinnableMemory.joinAndEnterPinned(LongSupplier logic,
HighResolutionTime<?> limit)
Same as
PinnableMemory.joinAndEnterPinned(Runnable, HighResolutionTime) except
that the executed method is called get and a long
is returned. |
void |
PinnableMemory.joinAndEnterPinned(Runnable logic,
HighResolutionTime<?> limit)
Same as
ScopedMemory.joinAndEnter(Runnable, HighResolutionTime)
except that pinning is ignored so the memory may not have been cleared. |
<P> P |
PinnableMemory.joinAndEnterPinned(Supplier<P> logic,
HighResolutionTime<?> limit)
Same as
PinnableMemory.joinAndEnterPinned(Runnable, HighResolutionTime) except
that the executed method is called get and an object
is returned. |
double |
PinnableMemory.joinAndEnterPinnedInternal(DoubleSupplier logic,
HighResolutionTime<?> limit)
Same as
PinnableMemory.joinAndEnterPinnedInternal(Runnable, HighResolutionTime)
except that the executed method is called get and a
double is returned. |
int |
PinnableMemory.joinAndEnterPinnedInternal(IntSupplier logic,
HighResolutionTime<?> limit)
Same as
PinnableMemory.joinAndEnterPinnedInternal(Runnable, HighResolutionTime)
except that the executed method is called get and an int
is returned. |
long |
PinnableMemory.joinAndEnterPinnedInternal(LongSupplier logic,
HighResolutionTime<?> limit)
Same as
PinnableMemory.joinAndEnterPinnedInternal(Runnable, HighResolutionTime)
except that the executed method is called get and a long
is returned. |
void |
PinnableMemory.joinPinned(HighResolutionTime<?> limit)
Same as
ScopedMemory.join(HighResolutionTime) except that
the area may be pinned so the memory may not have been cleared. |
aicas GmbH, Karlsruhe, Germany —www.aicas.com
Copyright © 2001-2021 aicas GmbH. All Rights Reserved.