Class DeterministicLoadStateImpl

java.lang.Object
org.jboss.modcluster.load.metric.impl.DeterministicLoadStateImpl
All Implemented Interfaces:
DeterministicLoadState

public class DeterministicLoadStateImpl extends Object implements DeterministicLoadState
Computes incremental load change per second from record of previous load.
Author:
Paul Ferraro
  • Constructor Details

    • DeterministicLoadStateImpl

      public DeterministicLoadStateImpl()
  • Method Details

    • delta

      public double delta(double currentLoad)
      Specified by:
      delta in interface DeterministicLoadState
    • getPreviousTime

      public long getPreviousTime()