Package org.cloudsimplus.slametrics
Class SlaMetric
java.lang.Object
org.cloudsimplus.slametrics.SlaMetric
public class SlaMetric extends Object
Represents a metric of a SLA contract.
Follows the standard defined by
AWS Cloudwatch.
For more details, check Raysa Oliveira's Master Thesis (only in Portuguese).
- Author:
- raysaoliveira
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description List<SlaMetricDimension>
getDimensions()
SlaMetricDimension
getMaxDimension()
Gets aSlaMetricDimension
representing the maximum value expected for the metric.SlaMetricDimension
getMinDimension()
Gets aSlaMetricDimension
representing the minimum value expected for the metric.String
getName()
SlaMetric
setDimensions(List<SlaMetricDimension> dimensions)
SlaMetric
setName(String name)
String
toString()
-
Field Details
-
NULL
-
-
Constructor Details
-
SlaMetric
public SlaMetric() -
SlaMetric
-
-
Method Details
-
getDimensions
-
setDimensions
-
getName
-
setName
-
toString
-
getMinDimension
Gets aSlaMetricDimension
representing the minimum value expected for the metric. If theSlaMetricDimension.getValue()
is a negative number, it means there is no minimum value.- Returns:
-
getMaxDimension
Gets aSlaMetricDimension
representing the maximum value expected for the metric. If theSlaMetricDimension.getValue()
is equals toDouble.MAX_VALUE
, it means there is no maximum value.- Returns:
-