java.lang.Object
uk.ac.manchester.spinnaker.alloc.nmpi.Quota

public class Quota
extends Object
A NMPI collab quota.
  • Constructor Details

  • 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

      public String getPlatform()
      Returns:
      the platform that the quota is assigned to.
    • setPlatform

      public void setPlatform​(String platform)
      Parameters:
      platform - the platform to set.
    • getUnits

      public String getUnits()
      Returns:
      the units in which the quota is measured.
    • setUnits

      public void setUnits​(String units)
      Parameters:
      units - the units to set.