uk.ac.soton.itinnovation.grid.service.types
Class InstantaneousRateReport
java.lang.Object
uk.ac.soton.itinnovation.grid.service.types.Usage
uk.ac.soton.itinnovation.grid.service.types.InstantaneousRateReport
public class InstantaneousRateReport
- extends Usage
This reports on the incremental change in the rate of usage of a metric.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InstantaneousRateReport
public InstantaneousRateReport()
InstantaneousRateReport
public InstantaneousRateReport(UsageReport r,
double currentRate)
- Construct an InstantaneousRateReport from a SerializableRateReport.
As the SerializableRateReport indicates an absolute rate, and
the InstantaneousRateReport is an incremental rate, we need to
pass in the known rate at the time of the report as well, to
adjust the rate value.
InstantaneousRateReport
public InstantaneousRateReport(Calendar time,
double rate)
- Partial constructor.
getTime
public Calendar getTime()
setTime
public void setTime(Calendar argTime)
getRate
public double getRate()
setRate
public void setRate(double argRate)
Copyright © 2001-2007 University of Southampton IT Innovation Centre. All Rights Reserved.