|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.caucho.server.http.Statistics
Simple statistics gathering. The idea is that a cron servlet will check this periodically and mail something to the admin if the load gets too high;
Method Summary | |
double |
getDayCpu()
Gets the average cpu load for the last day (needs libcaucho.so). |
double |
getDayThreads()
Gets the average number of active threads in the last day. |
double |
getHourCpu()
Gets the average cpu load for the last hour (needs libcaucho.so). |
double |
getHourThreads()
Gets the average number of active threads in the last hour. |
int |
getLiveSessions()
Returns the number live sessions. |
double |
getMinuteCpu()
Gets the average cpu load for the last minute (needs libcaucho.so) |
double |
getMinuteThreads()
Gets the average number of active threads in the last minute. |
long |
getServerStart()
Returns the time the server started |
int |
getSlowThreads()
Returns the number of 'slow' threads, i.e. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public long getServerStart()
public int getSlowThreads()
public int getLiveSessions()
public double getMinuteThreads()
public double getHourThreads()
public double getDayThreads()
public double getMinuteCpu()
public double getHourCpu()
public double getDayCpu()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |