public class WebAppStat extends Object
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_MAX_STAT_SESSION_COUNT |
static int |
DEFAULT_MAX_STAT_URI_COUNT |
Constructor and Description |
---|
WebAppStat() |
WebAppStat(String contextPath) |
WebAppStat(String contextPath,
int maxStatSessionCount) |
public static final int DEFAULT_MAX_STAT_URI_COUNT
public static final int DEFAULT_MAX_STAT_SESSION_COUNT
public WebAppStat()
public WebAppStat(String contextPath)
public WebAppStat(String contextPath, int maxStatSessionCount)
public static WebAppStat current()
public void reset()
public String getContextPath()
public void beforeInvoke()
public WebURIStat getURIStat(String uri)
public WebURIStat getURIStat(String uri, boolean create)
public WebSessionStat getSessionStat(String sessionId)
public WebSessionStat getSessionStat(String sessionId, boolean create)
public void afterInvoke(Throwable error, long nanoSpan)
public void incrementSessionCount()
public long getSessionCount()
public void addJdbcFetchRowCount(long delta)
public long getJdbcFetchRowCount()
public void addJdbcUpdateCount(long updateCount)
public long getJdbcUpdateCount()
public void incrementJdbcExecuteCount()
public void addJdbcExecuteCount(long executeCount)
public long getJdbcExecuteCount()
public long getJdbcExecuteTimeNano()
public void addJdbcExecuteTimeNano(long nano)
public void incrementJdbcCommitCount()
public long getJdbcCommitCount()
public void addJdbcCommitCount(long commitCount)
public void incrementJdbcRollbackCount()
public long getJdbcRollbackCount()
public void addJdbcRollbackCount(long rollbackCount)
public int getMaxStatUriCount()
public void setMaxStatUriCount(int maxStatUriCount)
public int getMaxStatSessionCount()
public void setMaxStatSessionCount(int maxStatSessionCount)
public int getRunningCount()
public long getConcurrentMax()
public long getRequestCount()
public List<WebURIStatValue> getURIStatValueList(boolean reset)
public void computeUserAgent(String userAgent)
public long getOSMacOSXCount()
public long getOSWindowsCount()
public long getOSLinuxCount()
public long getOSSymbianCount()
public long getOSFreeBSDCount()
public long getOSOpenBSDCount()
public long getOSAndroidCount()
public long getOSWindows98Count()
public long getOSWindowsXPCount()
public long getOSWindows2000Count()
public long getOSWindowsVistaCount()
public long getOSWindows7Count()
public long getOSWindows8Count()
public long getOSAndroid15Count()
public long getOSAndroid16Count()
public long getOSAndroid20Count()
public long getOSAndroid21Count()
public long getOSAndroid22Count()
public long getOSAndroid23Count()
public long getOSAndroid30Count()
public long getOSAndroid31Count()
public long getOSAndroid32Count()
public long getOSAndroid40Count()
public long getOSAndroid41Count()
public long getOSAndroid42Count()
public long getOSAndroid43Count()
public long getOSLinuxUbuntuCount()
public long getBrowserIECount()
public long getBrowserFirefoxCount()
public long getBrowserChromeCount()
public long getBrowserSafariCount()
public long getBrowserOperaCount()
public long getBrowserIE5Count()
public long getBrowserIE6Count()
public long getBrowserIE7Count()
public long getBrowserIE8Count()
public long getBrowserIE9Count()
public long getBrowserIE10Count()
public long getBrowser360SECount()
public long getDeviceAndroidCount()
public long getDeviceIpadCount()
public long getDeviceIphoneCount()
public long getDeviceWindowsPhoneCount()
public long getBotCount()
public long getBotBaiduCount()
public long getBotYoudaoCount()
public long getBotGoogleCount()
public long getBotMsnCount()
public long getBotBingCount()
public long getBotSosoCount()
public long getBotSogouCount()
public long getBotYahooCount()
public WebAppStatValue getStatValue(boolean reset)
Copyright © 2013–2021 Alibaba Group. All rights reserved.