|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.realtime.RealtimeSystem
Provides access to some system parameters.
Field Summary | |
static byte |
BIG_ENDIAN
A descriptor for identifying big endian byte order. |
static byte |
BYTE_ORDER
A descriptor for identifying the execution platform's native byte order. |
static byte |
LITTLE_ENDIAN
A descriptor for identifying little endian byte order. |
Method Summary | |
static GarbageCollector |
currentGC()
Returns the currently-active garbage collector. |
static int |
getConcurrentLocksUsed()
Returns the highest number of locks that have been held concurrently. |
static MonitorControl |
getInitialMonitorControl()
Returns a MonitorControl object representing the initial
monitor control policy. |
static int |
getMaximumConcurrentLocks()
Gets the maximum concurrent number of locks. |
static RealtimeSecurity |
getSecurityManager()
Gets the current real-time security manager. |
static void |
setMaximumConcurrentLocks(int numLocks)
Sets the expected maximum number of locks that will be held (or waited on) concurrently. |
static void |
setMaximumConcurrentLocks(int number,
boolean hard)
Sets the expected maximum number of locks that will be held (or waited on) concurrently. |
static void |
setSecurityManager(RealtimeSecurity manager)
Sets the real-time security manager. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final byte LITTLE_ENDIAN
public static final byte BIG_ENDIAN
public static final byte BYTE_ORDER
Method Detail |
public static GarbageCollector currentGC()
public static int getConcurrentLocksUsed()
public static MonitorControl getInitialMonitorControl()
MonitorControl
object representing the initial
monitor control policy.
MonitorControl
object representing the initial
monitor control policypublic static int getMaximumConcurrentLocks()
public static RealtimeSecurity getSecurityManager()
public static void setMaximumConcurrentLocks(int numLocks)
numLocks
- the expected maximum number of locks that will
be held (or waited on) concurrently; if zero or negative,
nothing happenspublic static void setMaximumConcurrentLocks(int number, boolean hard)
number
- the expected maximum number of locks that will be
held (or waited on) concurrently; if zero or negative, nothing
happenshard
- if true, the limit is hard and may not be exceeded
(and attempts to exceed it will result in a ResourceLimitError
);public static void setSecurityManager(RealtimeSecurity manager)
SecurityException
. Further, if
multiple calls are made to this method concurrently, only one
will succeed and the rest will throw a SecurityException
.
manager
- the security manager to use
SecurityException
- if the real-time security manager has
already been set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |