org.springdashboard.logic
Class WebMonitorBean
java.lang.Object
org.springdashboard.logic.WebMonitorBean
public class WebMonitorBean
- extends java.lang.Object
A spring bean that gatherd all statistic information.
This object must be defined in the spring application XML see springdashboard-servlet.xml in the example folder for more info.
- Author:
- Amir Shevat
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WebMonitorBean
public WebMonitorBean()
addUrlToStat
public void addUrlToStat(javax.servlet.http.HttpServletRequest request)
getStat
public java.util.HashMap getStat()
addFlowStat
public void addFlowStat(FlowStat flowStat)
- Parameters:
flowStat
-
getFlowStats
public java.util.LinkedList<FlowStat> getFlowStats()
- Returns:
- the flowStats
getMaxNumberOfFlows
public int getMaxNumberOfFlows()
- Returns:
- the maxNumberOfFlows
setMaxNumberOfFlows
public void setMaxNumberOfFlows(int maxNumberOfFlows)
- Parameters:
maxNumberOfFlows
- the maxNumberOfFlows to set
Copyright spacebug Open source initiative (www.spacebug.com). Amir Shevat