Package org.jppf.load.balancer
Class PerformanceSample
java.lang.Object
org.jppf.load.balancer.PerformanceSample
- All Implemented Interfaces:
Serializable
This is a utility class to be used to store the pair of mean and the
number of samples this mean is based on.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor.PerformanceSample(double mean, long samples) Initialize this sample with the specified mean execute time and number of samples. -
Method Summary
-
Field Details
-
mean
public double meanMean compute time for server to node round trip. -
samples
public long samplesNumber of samples used to compute the mean value.
-
-
Constructor Details
-
PerformanceSample
public PerformanceSample()Default constructor. -
PerformanceSample
public PerformanceSample(double mean, long samples) Initialize this sample with the specified mean execute time and number of samples.- Parameters:
mean- Mean compute time for server to node round trip.samples- Number of samples used to compute the mean value.
-