public class AppStatsCollectorBean extends AbstractStatsCollectorBean implements org.springframework.web.context.ServletContextAware
| Constructor and Description |
|---|
AppStatsCollectorBean() |
| Modifier and Type | Method and Description |
|---|---|
void |
collect()
Collect.
|
ContainerWrapperBean |
getContainerWrapper()
Gets the container wrapper.
|
protected javax.servlet.ServletContext |
getServletContext()
Gets the servlet context.
|
boolean |
isSelfIgnored()
Checks if is self ignored.
|
void |
reset()
Reset.
|
void |
reset(String appName)
Reset.
|
void |
setContainerWrapper(ContainerWrapperBean containerWrapper)
Sets the container wrapper.
|
void |
setMaxSeries(long period,
long span)
Sets the max series expression.
|
void |
setSelfIgnored(boolean selfIgnored)
Sets the self ignored.
|
void |
setServletContext(javax.servlet.ServletContext servletContext) |
buildAbsoluteStats, buildAbsoluteStats, buildDeltaStats, buildDeltaStats, buildTimePercentageStats, getListeners, getMaxSeries, getStatsCollection, resetStats, setListeners, setMaxSeries, setStatsCollectionpublic ContainerWrapperBean getContainerWrapper()
public void setContainerWrapper(ContainerWrapperBean containerWrapper)
containerWrapper - the new container wrapperpublic boolean isSelfIgnored()
@Value(value="${psiprobe.beans.stats.collectors.app.selfIgnored}")
public void setSelfIgnored(boolean selfIgnored)
selfIgnored - the new self ignoredprotected javax.servlet.ServletContext getServletContext()
public void setServletContext(javax.servlet.ServletContext servletContext)
setServletContext in interface org.springframework.web.context.ServletContextAwarepublic void collect()
throws Exception
AbstractStatsCollectorBeancollect in class AbstractStatsCollectorBeanException - the exceptionpublic void reset()
public void reset(String appName)
appName - the app namepublic void setMaxSeries(@Value(value="${psiprobe.beans.stats.collectors.app.period}")
long period,
@Value(value="${psiprobe.beans.stats.collectors.app.span}")
long span)
period - the periodspan - the spanCopyright © 2009–2020 psi-probe. All rights reserved.