Interface LoadMetric

All Superinterfaces:
LoadMetricMBean
All Known Implementing Classes:
AbstractLoadMetric, AbstractMBeanLoadMetric, ActiveSessionsLoadMetric, AverageSystemLoadMetric, BusyConnectorsLoadMetric, HeapMemoryUsageLoadMetric, MBeanAttributeLoadMetric, MBeanAttributeRatioLoadMetric, ReceiveTrafficLoadMetric, RequestCountLoadMetric, SendTrafficLoadMetric

public interface LoadMetric extends LoadMetricMBean
Represents a specific load metric.
Author:
Paul Ferraro
  • Field Details

  • Method Details

    • getLoad

      double getLoad(Engine engine) throws Exception
      Returns the current load of this metric as a percent of the metric's capacity.
      Returns:
      raw load / capacity.
      Throws:
      NodeUnavailableException - if the node should be put into the error state.
      Exception - if the load could not be determined.