Interface DynamicLoadBalanceFactorProviderMBean

All Known Implementing Classes:
DynamicLoadBalanceFactorProvider

public interface DynamicLoadBalanceFactorProviderMBean
Author:
Paul Ferraro
  • Method Summary

    Modifier and Type
    Method
    Description
    float
    Returns the exponential decay factor.
    int
    Returns the history count.
    Returns the load metrics registered with this provider
    void
    setDecayFactor(float decayFactor)
    Sets the exponential decay factor to be applied to historical load values.
    void
    setHistory(int history)
    Sets the number of historical load values to consider when calculating the load balance factor.
  • Method Details

    • getHistory

      int getHistory()
      Returns the history count.
      Returns:
      a positive integer
    • getDecayFactor

      float getDecayFactor()
      Returns the exponential decay factor.
      Returns:
      a positive integer
    • setHistory

      void setHistory(int history)
      Sets the number of historical load values to consider when calculating the load balance factor.
      Parameters:
      history -
    • setDecayFactor

      void setDecayFactor(float decayFactor)
      Sets the exponential decay factor to be applied to historical load values.
      Parameters:
      decayFactor - the new decay factor
    • getMetrics

      Map<String,Double> getMetrics()
      Returns the load metrics registered with this provider
      Returns:
      a collection of load metrics