Class Quota
java.lang.Object
uk.ac.manchester.spinnaker.alloc.nmpi.Quota
public class Quota extends Object
A NMPI collab quota.
-
Constructor Summary
Constructors Constructor Description Quota()
-
Method Summary
-
Constructor Details
-
Quota
public Quota()
-
-
Method Details
-
getLimit
public double getLimit()- Returns:
- the total amount of quota assigned.
-
setLimit
public void setLimit(double limit)- Parameters:
limit
- the limit to set.
-
getUsage
public double getUsage()- Returns:
- the usage of the quota assigned.
-
setUsage
public void setUsage(double usage)- Parameters:
usage
- the usage to set.
-
getPlatform
- Returns:
- the platform that the quota is assigned to.
-
setPlatform
- Parameters:
platform
- the platform to set.
-
getUnits
- Returns:
- the units in which the quota is measured.
-
setUnits
- Parameters:
units
- the units to set.
-