public class WebAppStat extends Object
限定符和类型 | 字段和说明 |
---|---|
static int |
DEFAULT_MAX_STAT_SESSION_COUNT |
static int |
DEFAULT_MAX_STAT_URI_COUNT |
构造器和说明 |
---|
WebAppStat() |
WebAppStat(String contextPath) |
WebAppStat(String contextPath,
int maxStatSessionCount) |
限定符和类型 | 方法和说明 |
---|---|
void |
afterInvoke(Throwable error,
long nanoSpan) |
void |
beforeInvoke() |
static WebAppStat |
current() |
long |
getConcurrentMax() |
String |
getContextPath() |
int |
getMaxStatSessionCount() |
int |
getMaxStatUriCount() |
long |
getRequestCount() |
int |
getRunningCount() |
WebSessionStat |
getSessionStat(String sessionId) |
WebSessionStat |
getSessionStat(String sessionId,
boolean create) |
List<Map<String,Object>> |
getSessionStatDataList() |
Map<String,Object> |
getStatData() |
WebURIStat |
getURIStat(String uri) |
WebURIStat |
getURIStat(String uri,
boolean create) |
List<Map<String,Object>> |
getURIStatDataList() |
void |
reset() |
void |
setMaxStatSessionCount(int maxStatSessionCount) |
void |
setMaxStatUriCount(int maxStatUriCount) |
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 int getMaxStatUriCount()
public void setMaxStatUriCount(int maxStatUriCount)
public int getMaxStatSessionCount()
public void setMaxStatSessionCount(int maxStatSessionCount)
public int getRunningCount()
public long getConcurrentMax()
public long getRequestCount()
Copyright © 2012 Alibaba Group. All Rights Reserved.