Class ActiveSessionsLoadMetric

java.lang.Object
org.jboss.modcluster.load.metric.impl.AbstractLoadMetric
org.jboss.modcluster.load.metric.impl.ActiveSessionsLoadMetric
All Implemented Interfaces:
LoadMetric, LoadMetricMBean

public class ActiveSessionsLoadMetric extends AbstractLoadMetric
LoadMetric implementation that returns the total number of active web sessions.
Author:
Paul Ferraro
  • Constructor Details

    • ActiveSessionsLoadMetric

      public ActiveSessionsLoadMetric()
  • Method Details

    • getLoad

      public double getLoad(Engine engine)
      Description copied from interface: LoadMetric
      Returns the current load of this metric as a percent of the metric's capacity.
      Returns:
      raw load / capacity.