org.springdashboard.logic
Class WebMonitorBean

java.lang.Object
  extended by 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

Constructor Summary
WebMonitorBean()
           
 
Method Summary
 void addFlowStat(FlowStat flowStat)
           
 void addUrlToStat(javax.servlet.http.HttpServletRequest request)
           
 java.util.LinkedList<FlowStat> getFlowStats()
           
 int getMaxNumberOfFlows()
           
 java.util.HashMap getStat()
           
 void setMaxNumberOfFlows(int maxNumberOfFlows)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebMonitorBean

public WebMonitorBean()
Method Detail

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