javax.realtime
Class NoGarbageCollector

java.lang.Object
  |
  +--javax.realtime.GarbageCollector
        |
        +--javax.realtime.NoGarbageCollector

public class NoGarbageCollector
extends GarbageCollector

NoGarbageCollector provides a means of informing the program that no garbage collector is present.


Constructor Summary
(package private) NoGarbageCollector()
           
 
Method Summary
 javax.realtime.RelativeTime getPreemptionLatency()
          Preemption latency is a measure of the maximum time a RealtimeThread may have to wait for the collector to reach a preemption-safe point.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NoGarbageCollector

NoGarbageCollector()
Method Detail

getPreemptionLatency

public javax.realtime.RelativeTime getPreemptionLatency()
Description copied from class: GarbageCollector
Preemption latency is a measure of the maximum time a RealtimeThread may have to wait for the collector to reach a preemption-safe point. Instances of RealtimeThread are allowed to preempt the garbage collector (instances of NoHeapRealtimeThread preempt immediately but instances of RealtimeThread must wait until the collector reaches a preemption-safe point).

Specified by:
getPreemptionLatency in class GarbageCollector
Returns:
The preempting latency of the garbage collection algorithm represented by this if applicable. May return zero, if there is no collector available.