|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.caucho.server.util.JniCauchoSystem
com.caucho.server.util.JniCauchoSystemImpl
public class JniCauchoSystemImpl
A wrapper for Caucho system variables, allowing tests to override the default variables.
| Constructor Summary | |
|---|---|
JniCauchoSystemImpl()
|
|
| Method Summary | |
|---|---|
double |
getLoadAvg()
Returns true if we're currently running a test. |
void |
initJniBackground()
Initialize any JNI code |
| Methods inherited from class com.caucho.server.util.JniCauchoSystem |
|---|
create |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JniCauchoSystemImpl()
| Method Detail |
|---|
public void initJniBackground()
JniCauchoSystem
initJniBackground in class JniCauchoSystempublic double getLoadAvg()
getLoadAvg in class JniCauchoSystem
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||