org.jppf.server.scheduler.bundle
Class BundlePerformanceSample

java.lang.Object
  extended by org.jppf.server.scheduler.bundle.BundlePerformanceSample

public class BundlePerformanceSample
extends Object

This is a utility class to be used to store the pair of mean and the number of samples this mean is based on.


Field Summary
 double mean
          Mean compute time for server to node round trip.
 long samples
          Number of samples used to compute the mean value.
 
Constructor Summary
BundlePerformanceSample()
          Default constructor.
BundlePerformanceSample(double mean, long samples)
          Initialize this sample witht he specified mean execute time and number of samples.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mean

public double mean
Mean compute time for server to node round trip.


samples

public long samples
Number of samples used to compute the mean value.

Constructor Detail

BundlePerformanceSample

public BundlePerformanceSample()
Default constructor.


BundlePerformanceSample

public BundlePerformanceSample(double mean,
                               long samples)
Initialize this sample witht he 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.


Copyright © 2005-2010 JPPF Team.