com.caucho.server.util
Class JniCauchoSystem

java.lang.Object
  extended by com.caucho.server.util.JniCauchoSystem
Direct Known Subclasses:
JniCauchoSystemImpl

public class JniCauchoSystem
extends java.lang.Object

A wrapper for Caucho system variables, allowing tests to override the default variables.


Constructor Summary
protected JniCauchoSystem()
           
 
Method Summary
static JniCauchoSystem create()
           
 double getLoadAvg()
          Returns true if we're currently running a test.
 void initJniBackground()
          Initialize any JNI code
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JniCauchoSystem

protected JniCauchoSystem()
Method Detail

create

public static JniCauchoSystem create()

getLoadAvg

public double getLoadAvg()
Returns true if we're currently running a test.


initJniBackground

public void initJniBackground()
Initialize any JNI code