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 Summary
Constructors Constructor Description DeterministicLoadStateImpl()
-
-
-
Method Detail
-
delta
public double delta(double currentLoad)
- Specified by:
delta
in interfaceDeterministicLoadState
-
getPreviousTime
public long getPreviousTime()
-
-