javax.realtime
Class PriorityCeilingEmulation

java.lang.Object
  |
  +--javax.realtime.MonitorControl
        |
        +--javax.realtime.PriorityCeilingEmulation

public class PriorityCeilingEmulation
extends MonitorControl

Monitor control class specifying use of the priority ceiling emulation protocol for monitor objects. Objects under the influence of this protocol have the effect that a thread entering the monitor has its effective priority -- for priority-based dispatching -- raised to the ceiling on entry, and is restored to its previous effective priority when it exists the monitor.


Field Summary
protected  int ceiling
           
 
Fields inherited from class javax.realtime.MonitorControl
defaultMonitorControl
 
Constructor Summary
PriorityCeilingEmulation(int ceiling)
          Create a PriorityCeilingEmulation object with a given ceiling.
 
Method Summary
 int getDeafaultCeiling()
          Get the priority ceiling for this PriorityCeilingEmulation object.
 
Methods inherited from class javax.realtime.MonitorControl
getMonitorControl, getMonitorControl, setMonitorControl, setMonitorControl
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ceiling

protected int ceiling
Constructor Detail

PriorityCeilingEmulation

public PriorityCeilingEmulation(int ceiling)
Create a PriorityCeilingEmulation object with a given ceiling.

Parameters:
ceiling - Priority ceiling value.
Method Detail

getDeafaultCeiling

public int getDeafaultCeiling()
Get the priority ceiling for this PriorityCeilingEmulation object.

Returns:
The priority ceiling.