|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.opencms.main.CmsReqStatistics
public final class CmsReqStatistics
Statistics object for request performance.
| Method Summary | |
|---|---|
static void |
endCmsInit(java.lang.String name)
Sets the endtime of a CmsObject init step. |
java.lang.String |
getCmsInitInfo()
Gets the CmsObject init information. |
long |
getCmsInitTime()
Gets the total time used for CmsObject init. |
java.lang.String |
getConn(java.lang.String poolname)
Gets the connection summary. |
java.lang.String |
getSummary()
Gets the statistics summary. |
long |
getTime()
Gets the total time used of the statistics object. |
static void |
setCmsObjectInitTime()
Sets the timestamp after CmsObject initialization. |
static void |
setEndTime()
Sets the endtime timestamp and logs the statistics. |
static void |
setInitResoueceTime()
Sets the timestamp after CmsResource initialization. |
static void |
setLoadResoueceTime()
Sets the timestamp after resource load and display. |
static void |
startCmsInit(java.lang.String name)
Sets the starttime of a CmsObject init step. |
static void |
startStatistics(java.lang.String requestedUrl)
Starts request statistics for a requested URL. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static void endCmsInit(java.lang.String name)
name - name of the handlerpublic static void setCmsObjectInitTime()
public static void setEndTime()
public static void setInitResoueceTime()
public static void setLoadResoueceTime()
public static void startCmsInit(java.lang.String name)
name - name of the handlerpublic static void startStatistics(java.lang.String requestedUrl)
requestedUrl - the requested URLpublic java.lang.String getCmsInitInfo()
public long getCmsInitTime()
public java.lang.String getConn(java.lang.String poolname)
throws CmsDbException
poolname - name of the connection pool
CmsDbException - if accessing the db pools failspublic java.lang.String getSummary()
public long getTime()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||