Package | Description |
---|---|
javax.realtime |
Jamaica's implementation of the Real-Time Specification for Java.
|
javax.realtime.control | |
javax.realtime.enforce |
A contraint objects for RTSJ 2.0 are in this package.
|
javax.realtime.memory | |
javax.realtime.posix |
Modifier and Type | Method and Description |
---|---|
static StaticIllegalArgumentException |
StaticIllegalArgumentException.get()
Gets the preallocated version of this
Throwable . |
StaticIllegalArgumentException |
StaticIllegalArgumentException.getSingleton() |
Modifier and Type | Method and Description |
---|---|
protected void |
ActiveEventDispatcher.activate(T event)
Activate an active event registered with this
dispatcher.
|
protected void |
ActiveEventDispatcher.deactivate(T event)
Deactivate an active event registered with this dispatcher.
|
Object |
ScopedMemory.newArray(Class<?> type,
int number)
Allocates an array of the given type in this memory area.
|
Object |
MemoryArea.newArray(Class<?> type,
int number)
Allocates an array of the given type in this memory area.
|
static Object |
MemoryArea.newArrayInArea(Object object,
Class<?> type,
int size)
A helper method for creating an array of type
type in the
memory area containing object. |
<T> T |
MemoryArea.newInstance(Constructor<T> c,
Object[] args)
Allocates a new instance using the given constructor
and passing arguments to this constructor.
|
T |
HighResolutionTime.set(Chronograph chronograph,
long millis,
int nanos)
Sets the all components of
this . |
static void |
ConfigurationParameters.setDefaultRunner(ReleaseRunner runner)
Sets the system default heap release runner.
|
boolean |
AsyncEventHandler.setIfFeasible(ReleaseParameters<?> release,
MemoryParameters memory)
setIfFeasible performs a feasibility analysis using the provided
release and memory parameters.
|
boolean |
AsyncEventHandler.setIfFeasible(ReleaseParameters<?> release,
MemoryParameters memory,
ProcessingGroupParameters pgp)
setIfFeasible performs a feasibility analysis using the provided
release, memory, and processing group parameters.
|
boolean |
AsyncEventHandler.setIfFeasible(ReleaseParameters<?> release,
ProcessingGroupParameters pgp)
setIfFeasible performs a feasibility analysis using the provided
release and processing group parameters.
|
boolean |
PriorityScheduler.setIfFeasible(Schedulable schedulable,
SchedulingParameters scheduling,
ReleaseParameters<?> release,
MemoryParameters memory,
ProcessingGroupParameters group)
setIfFeasible first performs a feasibility analysis using the new
scheduling, release, memory, and group parameters for schedulable.
|
abstract boolean |
Scheduler.setIfFeasible(Schedulable schedulable,
SchedulingParameters scheduling,
ReleaseParameters<?> release,
MemoryParameters memory,
ProcessingGroupParameters group)
setIfFeasible first performs a feasibility analysis for
schedulable using the new scheduling, release, memory, and group
parameters.
|
boolean |
AsyncEventHandler.setIfFeasible(SchedulingParameters sched,
ReleaseParameters<?> release,
MemoryParameters memory)
setIfFeasible performs a feasibility analysis using the provided
scheduling, release and memory parameters.
|
boolean |
AsyncEventHandler.setIfFeasible(SchedulingParameters sched,
ReleaseParameters<?> release,
MemoryParameters memory,
ProcessingGroupParameters pgp)
setIfFeasible performs a feasibility analysis using the provided
scheduling, release, memory, and processing group parameters.
|
PriorityParameters |
PriorityParameters.setPriority(int priority)
setPriority changes the priority value of this and the current
base priority of all schedulable objects that are associated with
this.
|
static void |
Affinity.setProcessorAddedEvent(AsyncEvent event)
Sets the AsyncEvent that will be fired when a processor is added to
the set available to the JVM.
|
static void |
Affinity.setProcessorRemovedEvent(AsyncEvent event)
Sets the
AsyncEvent that will be fired when a processor is
removed from the set available to the JVM. |
Schedulable |
RealtimeThread.setScheduler(Scheduler scheduler)
setScheduler sets the scheduler for this RealtimeThread.
|
Schedulable |
AsyncBaseEventHandler.setScheduler(Scheduler scheduler)
setScheduler sets the scheduler for this handler.
|
void |
AsyncEventHandler.setScheduler(Scheduler scheduler,
SchedulingParameters scheduling,
ReleaseParameters<?> release,
MemoryParameters memory,
ProcessingGroupParameters pgp)
setScheduler sets the scheduler and scheduling, release,
memory, and processing group parameters for this handler.
|
ActiveEventDispatcher<D,T> |
ActiveEventDispatcher.setSchedulingParameters(SchedulingParameters scheduling)
Sets the scheduling parameters associated with this instance of
Schedulable . |
void |
Timer.start(boolean disabled,
PhasingPolicy phasingPolicy)
Starts the timer with the specified
PhasingPolicy and the
specified disabled state. |
void |
Timer.start(PhasingPolicy phasingPolicy)
Starts the timer with the specified
PhasingPolicy . |
Constructor and Description |
---|
AsyncLongEventHandler(SchedulingParameters scheduling,
ReleaseParameters<?> release)
Calling this constructor is equivalent to calling
AsyncLongEventHandler(SchedulingParameters,
ReleaseParameters,
MemoryParameters,
MemoryArea,
ConfigurationParameters,
ReleaseRunner,
LongConsumer)
with arguments (scheduling, release, null, null, null, null, null) |
AsyncLongEventHandler(SchedulingParameters scheduling,
ReleaseParameters<?> release,
LongConsumer logic)
Calling this constructor is equivalent to calling
AsyncLongEventHandler(SchedulingParameters,
ReleaseParameters,
MemoryParameters,
MemoryArea,
ConfigurationParameters,
ReleaseRunner,
LongConsumer)
with arguments (scheduling, release, null, null, null, null, logic) . |
AsyncLongEventHandler(SchedulingParameters scheduling,
ReleaseParameters<?> release,
MemoryParameters memory,
MemoryArea area,
ConfigurationParameters config,
ReleaseRunner runner,
LongConsumer logic)
Creates an asynchronous event handler that receives a
Long
payload with each fire. |
AsyncObjectEventHandler(SchedulingParameters scheduling,
ReleaseParameters<?> release)
Calling this constructor is equivalent to calling
AsyncObjectEventHandler(SchedulingParameters,
ReleaseParameters,
MemoryParameters,
MemoryArea,
ConfigurationParameters,
ReleaseRunner,
Consumer)
with arguments (scheduling, release, null, null, null, null, null) |
AsyncObjectEventHandler(SchedulingParameters scheduling,
ReleaseParameters<?> release,
Consumer<P> logic)
Calling this constructor is equivalent to calling
AsyncObjectEventHandler(SchedulingParameters,
ReleaseParameters,
MemoryParameters,
MemoryArea,
ConfigurationParameters,
ReleaseRunner,
Consumer)
with arguments (scheduling, release, null, null, null, null, logic) . |
AsyncObjectEventHandler(SchedulingParameters scheduling,
ReleaseParameters<?> release,
MemoryParameters memory,
MemoryArea area,
ConfigurationParameters config,
ReleaseRunner runner,
Consumer<P> logic)
Creates an asynchronous event handler that receives an
Object
payload with each fire. |
MemoryParameters(long maxInitialMemoryArea,
long maxImmortal)
Constructor to create a MemoryParameters with given maximum
allocation budgets.
|
MemoryParameters(long maxInitialMemoryArea,
long maxImmortal,
long allocationRate)
Constructor to create a MemoryParameters with given maximum
allocation budgets.
|
Timed(HighResolutionTime<?> time)
Constructor to create a new instance of Timed with the given time
out.
|
WaitFreeReadQueue(int maximum,
boolean notify)
Constructor to construct a queue in immortal memory.
|
WaitFreeReadQueue(int maximum,
MemoryArea memory,
boolean notify)
Constructor to construct a queue in given memory area.
|
WaitFreeReadQueue(Runnable writer,
Runnable reader,
int maximum,
MemoryArea memory)
Constructor to construct a non-blocking read queue in given
memory area.
|
WaitFreeReadQueue(Runnable writer,
Runnable reader,
int maximum,
MemoryArea memory,
boolean notify)
Constructor to construct a non-blocking read queue in given
memory area.
|
WaitFreeWriteQueue(int maximum)
Constructor to construct a non-blocking write queue in immortal
memory.
|
WaitFreeWriteQueue(int maximum,
MemoryArea memory)
Constructor to construct a non-blocking write queue in given
memory area.
|
WaitFreeWriteQueue(Runnable writer,
Runnable reader,
int maximum,
MemoryArea memory)
Constructor to construct a non-blocking write queue in given
memory area.
|
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 |
---|---|
static void |
ProcessingConstraint.setGranularity(RelativeTime time)
Sets the measurement granularity of cost monitoring and cost
enforcement.
|
static void |
ProcessingConstraint.setPeriod(RelativeTime period)
Sets the value of
period . |
Modifier and Type | Method and Description |
---|---|
void |
ScopedMemory.joinAndEnter(Runnable logic)
In the error-free case,
joinAndEnter combines
join();enter(); such that no enter() from another
schedulable can intervene between the two method invocations. |
boolean |
PinnableMemory.joinAndEnterPinned(BooleanSupplier logic)
Same as
PinnableMemory.joinAndEnterPinned(Runnable) except that the
executed method is called get and a boolean 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)
Same as
PinnableMemory.joinAndEnterPinned(Runnable) except that the
executed method is called get and a double 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)
Same as
PinnableMemory.joinAndEnterPinned(Runnable) except that the
executed method is called get and an int is returned. |
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)
Same as
PinnableMemory.joinAndEnterPinned(Runnable) except that the
executed method is called get and a long 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)
Same as
ScopedMemory.joinAndEnter(Runnable) except that the
area may be pinned so the memory may not have been cleared. |
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. |
<T> T |
PinnableMemory.joinAndEnterPinned(Supplier<T> logic)
Same as
PinnableMemory.joinAndEnterPinned(Runnable) 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. |
static void |
ScopedConfigurationParameters.setDefaultRunner(ReleaseRunner runner)
Sets the system default release runner.
|
void |
ScopedMemory.visitNestedScopes(Consumer<ScopedMemory> visitor)
A means of accessing all live nested scoped memories parented in this
scoped memory, even those to which no reference exists, such a
PinnableMemory that is pinned
or another javax.realtime.memory.ScopedMemory that contains a
Schedulable . |
static void |
ScopedMemory.visitScopeRoots(Consumer<ScopedMemory> visitor)
A means of accessing all live scoped memories whose parent is a
perennial memory area, even those to which no reference exists,
such a
PinnableMemory that is pinned
or another javax.realtime.memory.ScopedMemory that contains a
Schedulable . |
Constructor and Description |
---|
ScopedMemoryParameters(long maxInitialArea,
long maxImmortal,
long maxContainingArea)
Same as
ScopedMemoryParameters(maxInitialArea, maxImmortal,
MemoryParameters.UNLIMITED, maxGlobalBackingStore, 0, 0) . |
ScopedMemoryParameters(long maxInitialArea,
long maxImmortal,
long maxContainingArea,
long maxInitialBackingStore)
Same as
ScopedMemoryParameters(maxInitialArea, maxImmortal,
0, maxContainingArea, maxInitialBackingStore, 0) . |
ScopedMemoryParameters(long maxInitialArea,
long maxImmortal,
long allocationRate,
long maxContainingArea,
long maxInitialBackingStore,
long maxGlobalBackingStore)
Creates a
ScopedMemoryParameters instance with the given values that
can allow access to any ScopedMemory |
Modifier and Type | Method and Description |
---|---|
protected void |
RealtimeSignalDispatcher.activate(RealtimeSignal signal)
Activate an active event registered with this
dispatcher.
|
protected void |
SignalDispatcher.activate(Signal signal)
Activate an active event registered with this
dispatcher.
|
protected void |
RealtimeSignalDispatcher.deactivate(RealtimeSignal signal)
Deactivate an active event registered with this dispatcher.
|
protected void |
SignalDispatcher.deactivate(Signal signal)
Deactivate an active event registered with this dispatcher.
|
aicas GmbH, Karlsruhe, Germany —www.aicas.com
Copyright © 2001-2024 aicas GmbH. All Rights Reserved.