aicas logo Realtime Java
Technology.

javax.realtime
Class PriorityScheduler

java.lang.Object
  |
  +--javax.realtime.Scheduler
        |
        +--javax.realtime.PriorityScheduler

public class PriorityScheduler
extends Scheduler


Field Summary
static int MAX_PRIORITY
           
static int MIN_PRIORITY
           
 
Constructor Summary
protected PriorityScheduler()
           
 
Method Summary
protected  boolean addToFeasibility(Schedulable schedulable)
           
 void fireSchedulable(Schedulable schedulable)
           
 int getMaxPriority()
           
static int getMaxPriority(java.lang.Thread thread)
           
 int getMinPriority()
           
static int getMinPriority(java.lang.Thread thread)
           
 int getNormPriority()
           
static int getNormPriority(java.lang.Thread thread)
           
 java.lang.String getPolicyName()
           
static PriorityScheduler instance()
           
 boolean isFeasible()
           
protected  boolean removeFromFeasibility(Schedulable schedulable)
           
 boolean setIfFeasible(Schedulable schedulable, ReleaseParameters release, MemoryParameters memory)
           
 boolean setIfFeasible(Schedulable schedulable, ReleaseParameters release, MemoryParameters memory, ProcessingGroupParameters group)
           
 
Methods inherited from class javax.realtime.Scheduler
getDefaultScheduler, setDefaultScheduler
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MAX_PRIORITY

public static final int MAX_PRIORITY

MIN_PRIORITY

public static final int MIN_PRIORITY
Constructor Detail

PriorityScheduler

protected PriorityScheduler()
Method Detail

isFeasible

public boolean isFeasible()
Overrides:
isFeasible in class Scheduler

instance

public static PriorityScheduler instance()

addToFeasibility

protected boolean addToFeasibility(Schedulable schedulable)
Overrides:
addToFeasibility in class Scheduler

removeFromFeasibility

protected boolean removeFromFeasibility(Schedulable schedulable)
Overrides:
removeFromFeasibility in class Scheduler

setIfFeasible

public boolean setIfFeasible(Schedulable schedulable,
                             ReleaseParameters release,
                             MemoryParameters memory)
Overrides:
setIfFeasible in class Scheduler

setIfFeasible

public boolean setIfFeasible(Schedulable schedulable,
                             ReleaseParameters release,
                             MemoryParameters memory,
                             ProcessingGroupParameters group)
Overrides:
setIfFeasible in class Scheduler

fireSchedulable

public void fireSchedulable(Schedulable schedulable)
Overrides:
fireSchedulable in class Scheduler

getMaxPriority

public int getMaxPriority()

getMaxPriority

public static int getMaxPriority(java.lang.Thread thread)

getMinPriority

public int getMinPriority()

getMinPriority

public static int getMinPriority(java.lang.Thread thread)

getNormPriority

public int getNormPriority()

getNormPriority

public static int getNormPriority(java.lang.Thread thread)

getPolicyName

public java.lang.String getPolicyName()
Overrides:
getPolicyName in class Scheduler

aicas logo Realtime Java
Technology.

aicas GmbH, Karlsruhe - Germany    www.aicas.com
Copyright 2003 aicas GmbH. All Rights Reserved.