Class DeterministicLoadStateImpl
java.lang.Object
org.jboss.modcluster.load.metric.impl.DeterministicLoadStateImpl
- All Implemented Interfaces:
DeterministicLoadState
Computes incremental load change per second from record of previous load.
- Author:
- Paul Ferraro
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
DeterministicLoadStateImpl
public DeterministicLoadStateImpl()
-
-
Method Details
-
delta
public double delta(double currentLoad) - Specified by:
delta
in interfaceDeterministicLoadState
-
getPreviousTime
public long getPreviousTime()
-