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 exits the monitor. See also MonitorControl and PriorityInheritance.


Constructor Summary
PriorityCeilingEmulation(int ceiling)
          Create a PriorityCeilingEmulation object with a given ceiling.
 
Method Summary
 int getDefaultCeiling()
          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
 

Constructor Detail

PriorityCeilingEmulation

public PriorityCeilingEmulation(int ceiling)
Create a PriorityCeilingEmulation object with a given ceiling.
Parameters:
ceiling - Priority ceiling value.
Method Detail

getDefaultCeiling

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