|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.realtime.test.preemption.Main
Main program for a simple test of the
Constructor Summary | |
Main()
|
Method Summary | |
static void |
main(java.lang.String[] args)
Main method for this simple test of the Resource subclasses:
PriorityInheritanceResource ,
PreemptableResource , and
PriorityCeilingResource . |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Main()
Method Detail |
public static void main(java.lang.String[] args)
Resource
subclasses:
PriorityInheritanceResource
,
PreemptableResource
, and
PriorityCeilingResource
.
args
- true
then run simulation with
randomize
set to true
PriorityInheritanceCPU
,
PreemptableCPU
, or PriorityCeilingCPU
; a resource
is constructed representing a CPU managed under the indicated policy.
PriorityCeilingCPU
, an arg[2] is required giving
the resource's priority ceiling.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |