Class WebAppStat
java.lang.Object
com.alibaba.druid.support.http.stat.WebAppStat
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final int -
Constructor Summary
ConstructorsConstructorDescriptionWebAppStat(String contextPath) WebAppStat(String contextPath, int maxStatSessionCount) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddJdbcCommitCount(long commitCount) voidaddJdbcExecuteCount(long executeCount) voidaddJdbcExecuteTimeNano(long nano) voidaddJdbcFetchRowCount(long delta) voidaddJdbcRollbackCount(long rollbackCount) voidaddJdbcUpdateCount(long updateCount) voidafterInvoke(Throwable error, long nanoSpan) voidvoidcomputeUserAgent(String userAgent) static WebAppStatcurrent()longlonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglongintintlonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglongintlonggetSessionStat(String sessionId) getSessionStat(String sessionId, boolean create) getSessionStatData(String sessionId) getStatValue(boolean reset) getURIStat(String uri) getURIStat(String uri, boolean create) getURIStatData(String uri) getURIStatValueList(boolean reset) voidvoidvoidvoidvoidreset()voidsetMaxStatSessionCount(int maxStatSessionCount) voidsetMaxStatUriCount(int maxStatUriCount)
-
Field Details
-
DEFAULT_MAX_STAT_URI_COUNT
public static final int DEFAULT_MAX_STAT_URI_COUNT- See Also:
-
DEFAULT_MAX_STAT_SESSION_COUNT
public static final int DEFAULT_MAX_STAT_SESSION_COUNT- See Also:
-
-
Constructor Details
-
WebAppStat
public WebAppStat() -
WebAppStat
-
WebAppStat
-
-
Method Details
-
current
-
reset
public void reset() -
getContextPath
-
beforeInvoke
public void beforeInvoke() -
getURIStat
-
getURIStat
-
getSessionStat
-
getSessionStatData
-
getURIStatData
-
getSessionStat
-
afterInvoke
-
incrementSessionCount
public void incrementSessionCount() -
getSessionCount
public long getSessionCount() -
addJdbcFetchRowCount
public void addJdbcFetchRowCount(long delta) -
getJdbcFetchRowCount
public long getJdbcFetchRowCount() -
addJdbcUpdateCount
public void addJdbcUpdateCount(long updateCount) -
getJdbcUpdateCount
public long getJdbcUpdateCount() -
incrementJdbcExecuteCount
public void incrementJdbcExecuteCount() -
addJdbcExecuteCount
public void addJdbcExecuteCount(long executeCount) -
getJdbcExecuteCount
public long getJdbcExecuteCount() -
getJdbcExecuteTimeNano
public long getJdbcExecuteTimeNano() -
addJdbcExecuteTimeNano
public void addJdbcExecuteTimeNano(long nano) -
incrementJdbcCommitCount
public void incrementJdbcCommitCount() -
getJdbcCommitCount
public long getJdbcCommitCount() -
addJdbcCommitCount
public void addJdbcCommitCount(long commitCount) -
incrementJdbcRollbackCount
public void incrementJdbcRollbackCount() -
getJdbcRollbackCount
public long getJdbcRollbackCount() -
addJdbcRollbackCount
public void addJdbcRollbackCount(long rollbackCount) -
getMaxStatUriCount
public int getMaxStatUriCount() -
setMaxStatUriCount
public void setMaxStatUriCount(int maxStatUriCount) -
getMaxStatSessionCount
public int getMaxStatSessionCount() -
setMaxStatSessionCount
public void setMaxStatSessionCount(int maxStatSessionCount) -
getRunningCount
public int getRunningCount() -
getConcurrentMax
public long getConcurrentMax() -
getRequestCount
public long getRequestCount() -
getStatData
-
getURIStatValueList
-
getURIStatDataList
-
getSessionStatDataList
-
computeUserAgent
-
getOSMacOSXCount
public long getOSMacOSXCount() -
getOSWindowsCount
public long getOSWindowsCount() -
getOSLinuxCount
public long getOSLinuxCount() -
getOSSymbianCount
public long getOSSymbianCount() -
getOSFreeBSDCount
public long getOSFreeBSDCount() -
getOSOpenBSDCount
public long getOSOpenBSDCount() -
getOSAndroidCount
public long getOSAndroidCount() -
getOSWindows98Count
public long getOSWindows98Count() -
getOSWindowsXPCount
public long getOSWindowsXPCount() -
getOSWindows2000Count
public long getOSWindows2000Count() -
getOSWindowsVistaCount
public long getOSWindowsVistaCount() -
getOSWindows7Count
public long getOSWindows7Count() -
getOSWindows8Count
public long getOSWindows8Count() -
getOSAndroid15Count
public long getOSAndroid15Count() -
getOSAndroid16Count
public long getOSAndroid16Count() -
getOSAndroid20Count
public long getOSAndroid20Count() -
getOSAndroid21Count
public long getOSAndroid21Count() -
getOSAndroid22Count
public long getOSAndroid22Count() -
getOSAndroid23Count
public long getOSAndroid23Count() -
getOSAndroid30Count
public long getOSAndroid30Count() -
getOSAndroid31Count
public long getOSAndroid31Count() -
getOSAndroid32Count
public long getOSAndroid32Count() -
getOSAndroid40Count
public long getOSAndroid40Count() -
getOSAndroid41Count
public long getOSAndroid41Count() -
getOSAndroid42Count
public long getOSAndroid42Count() -
getOSAndroid43Count
public long getOSAndroid43Count() -
getOSLinuxUbuntuCount
public long getOSLinuxUbuntuCount() -
getBrowserIECount
public long getBrowserIECount() -
getBrowserFirefoxCount
public long getBrowserFirefoxCount() -
getBrowserChromeCount
public long getBrowserChromeCount() -
getBrowserSafariCount
public long getBrowserSafariCount() -
getBrowserOperaCount
public long getBrowserOperaCount() -
getBrowserIE5Count
public long getBrowserIE5Count() -
getBrowserIE6Count
public long getBrowserIE6Count() -
getBrowserIE7Count
public long getBrowserIE7Count() -
getBrowserIE8Count
public long getBrowserIE8Count() -
getBrowserIE9Count
public long getBrowserIE9Count() -
getBrowserIE10Count
public long getBrowserIE10Count() -
getBrowser360SECount
public long getBrowser360SECount() -
getDeviceAndroidCount
public long getDeviceAndroidCount() -
getDeviceIpadCount
public long getDeviceIpadCount() -
getDeviceIphoneCount
public long getDeviceIphoneCount() -
getDeviceWindowsPhoneCount
public long getDeviceWindowsPhoneCount() -
getBotCount
public long getBotCount() -
getBotBaiduCount
public long getBotBaiduCount() -
getBotYoudaoCount
public long getBotYoudaoCount() -
getBotGoogleCount
public long getBotGoogleCount() -
getBotMsnCount
public long getBotMsnCount() -
getBotBingCount
public long getBotBingCount() -
getBotSosoCount
public long getBotSosoCount() -
getBotSogouCount
public long getBotSogouCount() -
getBotYahooCount
public long getBotYahooCount() -
getStatValue
-