public class UtilizationModelPlanetLabInMemory extends Object implements UtilizationModel
| Constructor and Description |
|---|
UtilizationModelPlanetLabInMemory(String inputPath,
double schedulingInterval)
Instantiates a new utilization model PlanetLab.
|
| Modifier and Type | Method and Description |
|---|---|
double |
getSchedulingInterval()
Gets the scheduling interval.
|
double |
getUtilization(double time)
Returns utilization in percents according to the time.
|
void |
setSchedulingInterval(double schedulingInterval)
Sets the scheduling interval.
|
public UtilizationModelPlanetLabInMemory(String inputPath, double schedulingInterval) throws NumberFormatException, IOException
inputPath - the input pathNumberFormatException - the number format exceptionIOException - Signals that an I/O exception has occurred.public double getUtilization(double time)
UtilizationModelgetUtilization in interface UtilizationModeltime - the timepublic void setSchedulingInterval(double schedulingInterval)
schedulingInterval - the new scheduling intervalpublic double getSchedulingInterval()
Copyright © 2012 The Cloud Computing and Distributed Systems (CLOUDS) Laboratory, The University of Melbourne. All Rights Reserved.