| Package | Description |
|---|---|
| javax.realtime | |
| javax.safetycritical |
| Modifier and Type | Class and Description |
|---|---|
class |
AbsoluteTime
An object that represents a specific point in time given by milliseconds
plus nanoseconds past some point in time fixed by the clock.
|
interface |
AllocationContext
All memory allocation takes places from within an allocation context.
|
class |
AperiodicParameters
SCJ supports no detection of minimum inter-arrival time violations,
therefore only aperiodic parameters are needed.
|
class |
Clock
A clock marks the passing of time.
|
class |
HighResolutionTime
HighResolutionTime is the base class for time given with nanosecond accuracy. |
class |
ImmortalMemory
This class represents immortal memory.
|
class |
MemoryArea
All allocation contexts are implemented by memory areas.
|
class |
PeriodicParameters
This class is restricted relative to RTSJ so that it allows the
start time and the period to be set but not changed or queried.
|
class |
PriorityParameters
This class is restricted relative to the RTSJ so that it allows the
priority to be * created and queried, but not changed.
In SCJ the range of priorities is separated into software priorities and hardware priorities (see PriorityScheduler). |
class |
PriorityScheduler
This class represents the priority-based scheduler for Level 1 and 2.
|
class |
RelativeTime
An object that represents a duration in milliseconds and nanoseconds.
|
class |
ReleaseParameters
All schedulability analysis of safety critical software is performed off line.
|
interface |
Schedulable
interface Schedulable is a common interface for the
schedulable objects in SCJ. |
class |
Scheduler
An instance of
Scheduler manages the execution of
schedulable objects. |
| Modifier and Type | Method and Description |
|---|---|
abstract RelativeTime |
Clock.getEpochOffset()
Returns the relative time of the offset of the epoch of this clock
from the Epoch of the
RealtimeClock. |
int |
PriorityScheduler.getMaxPriority() |
static MemoryArea |
MemoryArea.getMemoryArea(java.lang.Object object) |
int |
PriorityScheduler.getMinPriority() |
abstract RelativeTime |
Clock.getResolution()
Gets the resolution of the clock, the nominal interval between ticks.
|
abstract RelativeTime |
Clock.getResolution(RelativeTime dest)
Gets the resolution of the clock, the nominal interval between ticks
and stores the result in
dest. |
abstract AbsoluteTime |
Clock.getTime()
Creates a new object representing now of this clock.
|
abstract AbsoluteTime |
Clock.getTime(AbsoluteTime dest)
Stores now of this clock in
dest. |
long |
MemoryArea.memoryConsumed() |
long |
AllocationContext.memoryConsumed() |
long |
MemoryArea.memoryRemaining() |
long |
AllocationContext.memoryRemaining() |
long |
MemoryArea.size() |
long |
AllocationContext.size() |
| Constructor and Description |
|---|
PeriodicParameters(RelativeTime start,
RelativeTime period,
RelativeTime deadline,
AperiodicEventHandler missHandler)
Constructs a new object within the current memory area.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AperiodicEventHandler
This class permits the explicit release of application code.
|
class |
CyclicExecutive
A
CyclicExecutive represents a Level 0 mission. |
class |
CyclicSchedule
A
CyclicSchedule object represents a time-driven sequence
of releases for deterministic scheduling of periodic event handlers. |
class |
Frame
The frames array represents the order in which event handlers are to be scheduled.
|
class |
ManagedEventHandler
ManagedEventHandler is the base class for all SCJ handlers. |
class |
ManagedMemory
Managed memory is a scoped memory area that is managed by a mission.
|
interface |
ManagedSchedulable
All schedulable objects are managed by a mission.
|
class |
Mission
An SCJ application is comprised of one or more
Mission objects. |
class |
MissionSequencer<SpecificMission extends Mission>
A
MissionSequencer oversees a sequence of Mission executions. |
class |
OneShotEventHandler
This class permits the automatic execution of time-triggered code.
|
class |
PeriodicEventHandler
This class permits the automatic periodic execution of code.
|
class |
PriorityScheduler
This class represents the priority-based scheduler for Level 1 and 2.
|
interface |
Safelet<MissionLevel extends Mission>
A safety-critical application consists of one or more missions, executed
concurrently or in sequence.
|
class |
Services
This class provides a collection of static helper methods.
|
class |
StorageParameters |
| Modifier and Type | Method and Description |
|---|---|
static void |
Services.captureBackTrace(java.lang.Throwable association) |
void |
ManagedSchedulable.cleanUp()
Runs end-of-mission clean up associated with this schedulable object.
|
void |
ManagedEventHandler.cleanUp() |
static ManagedSchedulable |
Services.currentManagedSchedulable() |
boolean |
OneShotEventHandler.deschedule()
Deschedules the release of the handler.
|
static void |
ManagedMemory.enterPrivateMemory(int size,
java.lang.Runnable logic)
Invoke the run method of logic with a fresh private memory area that
is immediately nested within the current
ManagedMemory
area, sized to provide size bytes of free memory
as the current allocation area. |
void |
ManagedMemory.executeInArea(java.lang.Runnable logic)
Executes
logic in this memory area, with no cleanup and no
pointer reset at the end. |
static void |
ManagedMemory.executeInAreaOf(java.lang.Object obj,
java.lang.Runnable logic) |
static void |
ManagedMemory.executeInOuterArea(java.lang.Runnable logic) |
static Mission |
Mission.getCurrentMission() |
static int |
Services.getDefaultCeiling() |
AbsoluteTime |
ManagedEventHandler.getLastReleaseTime() |
int |
PriorityScheduler.getMaxHardwarePriority() |
int |
PriorityScheduler.getMinHardwarePriority() |
long |
ManagedMemory.getRemainingBackingStore() |
MissionSequencer<MissionLevel> |
Safelet.getSequencer()
The infrastructure invokes
getSequencer to obtain the
MissionSequencer object that oversees execution of missions
for this application. |
MissionSequencer |
Mission.getSequencer() |
void |
MissionSequencer.handleAsyncEvent()
This method is declared final because the implementation is provided by
the infrastructure of the SCJ implementation and shall not be overridden.
|
long |
Safelet.immortalMemorySize() |
static PriorityScheduler |
PriorityScheduler.instance() |
abstract long |
Mission.missionMemorySize()
The application developer is required to implement this method.
|
static void |
Services.nanoSpin(int nanos) |
void |
OneShotEventHandler.register() |
void |
ManagedEventHandler.register()
Registers this event handler with the current mission.
|
void |
AperiodicEventHandler.register() |
void |
AperiodicEventHandler.release()
Release this aperiodic event handler
|
void |
MissionSequencer.requestSequenceTermination()
Invokes the currently running
Mission's
requestTermination method. |
void |
Mission.requestTermination()
This method provides a standard interface for requesting termination of a mission.
|
boolean |
MissionSequencer.sequenceTerminationPending()
Checks if the current
Mission is trying to terminate. |
static void |
Services.setCeiling(java.lang.Object target,
int ceiling) |
| Constructor and Description |
|---|
AperiodicEventHandler(PriorityParameters priority,
AperiodicParameters release,
StorageParameters storage)
Constructs an aperiodic event handler that can be explicitly released.
|
CyclicExecutive() |
Frame(RelativeTime duration,
PeriodicEventHandler[] handlers)
Constructor for a frame.
|
Mission() |
MissionSequencer(PriorityParameters priority,
StorageParameters storage)
Constructs a
MissionSequencer to run at the priority and
with the memory resources specified by its parameters. |
OneShotEventHandler(PriorityParameters priority,
HighResolutionTime releaseTime,
AperiodicParameters release,
StorageParameters storage) |
StorageParameters(long totalBackingStore,
long[] sizes,
int messageLength,
int stackTraceLength,
long maxMemoryArea,
long maxImmortal,
long maxMissionMemory) |
StorageParameters(long totalBackingStore,
long[] sizes,
long maxMemoryArea,
long maxImmortal,
long maxMissionMemory) |