Package | Description |
---|---|
javax.realtime |
Jamaica's implementation of the Real-Time Specification for Java.
|
javax.realtime.control | |
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 |
---|---|
abstract void |
ActiveEventDispatcher.deregister(T event)
Deregisters an active event from this dispatcher.
|
void |
TimeDispatcher.deregister(Timable target)
Deregisters a
Timable from 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.
|
abstract void |
ActiveEventDispatcher.register(T event)
Registers an active event with this dispatcher.
|
void |
TimeDispatcher.register(Timable target)
Registers a
Timable with this dispatcher. |
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 |
AsyncBaseEventHandler.setIfFeasible(ReleaseParameters<?> release,
MemoryParameters memory)
setIfFeasible performs a feasibility analysis using the provided
release and memory parameters.
|
boolean |
AsyncBaseEventHandler.setIfFeasible(ReleaseParameters<?> release,
MemoryParameters memory,
ProcessingGroupParameters group)
setIfFeasible performs a feasibility analysis using the provided
release, memory, and processing group parameters.
|
boolean |
AsyncBaseEventHandler.setIfFeasible(ReleaseParameters<?> release,
ProcessingGroupParameters group)
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 |
AsyncBaseEventHandler.setIfFeasible(SchedulingParameters sched,
ReleaseParameters<?> release,
MemoryParameters memory)
setIfFeasible performs a feasibility analysis using the provided
scheduling, release and memory parameters.
|
boolean |
AsyncBaseEventHandler.setIfFeasible(SchedulingParameters sched,
ReleaseParameters<?> release,
MemoryParameters memory,
ProcessingGroupParameters group)
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 |
AsyncBaseEventHandler.setScheduler(Scheduler scheduler,
SchedulingParameters scheduling,
ReleaseParameters<?> release,
MemoryParameters memory,
ProcessingGroupParameters group)
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 . |
Constructor and Description |
---|
ActiveEventDispatcher(SchedulingParameters schedule)
Creates a new dispatcher in the same thread group as the calling task.
|
AsyncLongEventHandler(SchedulingParameters scheduling,
ReleaseParameters<?> release)
Calling this constructor is equivalent to calling
AsyncLongEventHandler(SchedulingParameters,
ReleaseParameters,
MemoryParameters,
MemoryArea,
ReleaseRunner,
LongConsumer)
with arguments (scheduling, release, null, null, null, null) |
AsyncLongEventHandler(SchedulingParameters scheduling,
ReleaseParameters<?> release,
LongConsumer logic)
Calling this constructor is equivalent to calling
AsyncLongEventHandler(SchedulingParameters,
ReleaseParameters,
MemoryParameters,
MemoryArea,
ReleaseRunner,
LongConsumer)
with arguments (scheduling, release, null, null, null, logic) . |
AsyncLongEventHandler(SchedulingParameters scheduling,
ReleaseParameters<?> release,
MemoryParameters memory,
MemoryArea area,
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,
ReleaseRunner,
Consumer)
with arguments (scheduling, release, null, null, null, null) |
AsyncObjectEventHandler(SchedulingParameters scheduling,
ReleaseParameters<?> release,
Consumer<P> logic)
Calling this constructor is equivalent to calling
AsyncObjectEventHandler(SchedulingParameters,
ReleaseParameters,
MemoryParameters,
MemoryArea,
ReleaseRunner,
Consumer)
with arguments (scheduling, release, null, null, null, logic) . |
AsyncObjectEventHandler(SchedulingParameters scheduling,
ReleaseParameters<?> release,
MemoryParameters memory,
MemoryArea area,
ReleaseRunner runner,
Consumer<P> logic)
Creates an asynchronous event handler that receives an
Object
payload with each fire. |
MemoryParameters(long maxMemoryArea,
long maxImmortal)
Constructor to create a MemoryParameters with given maximum
allocation budgets.
|
MemoryParameters(long maxMemoryArea,
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 |
---|---|
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.
|
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 |
---|---|
void |
RealtimeSignalDispatcher.deregister(RealtimeSignal signal)
Deregisters the
signal from this dispatcher. |
void |
SignalDispatcher.deregister(Signal signal)
Deregisters the POSIX Signal from this dispatcher.
|
void |
RealtimeSignalDispatcher.register(RealtimeSignal signal)
Registers
signal with this dispatcher. |
void |
SignalDispatcher.register(Signal signal)
Registers a POSIX signal with this dispatcher.
|
aicas GmbH, Karlsruhe, Germany —www.aicas.com
Copyright © 2001-2022 aicas GmbH. All Rights Reserved.