com.sun.rtsjx
Class SteadyMode

java.lang.Object
  extended by com.sun.rtsjx.SteadyMode

public class SteadyMode
extends java.lang.Object

Utility class to notify the JVM of wether the application is in steady mode. It can be used with debug options to identify jitter issues, avoiding verbose messages when not in steady mode.


Constructor Summary
SteadyMode()
           
 
Method Summary
static boolean enterSteadyMode()
          This method must be used to mark the fact that the VM enters the steady mode.
static boolean exitSteadyMode()
          This method must be used to mark the fact that the VM exits the steady mode.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SteadyMode

public SteadyMode()
Method Detail

enterSteadyMode

public static boolean enterSteadyMode()
This method must be used to mark the fact that the VM enters the steady mode. After a call to start, any computation should have a bounded jitter.

Returns:
true if the VM was not in steady mode, false otherwise.

exitSteadyMode

public static boolean exitSteadyMode()
This method must be used to mark the fact that the VM exits the steady mode. The application can proceed with non deterministic computations after a call to this routine without notification from the jitter warning system.

Returns:
true if the VM was in steady mode, false otherwise.