Class CPUFeature

    • Constructor Detail

      • CPUFeature

        public CPUFeature()
        Empty constructor for deserialization.
      • CPUFeature

        public CPUFeature​(int amountOfCPUs)
        Creates a new CPUFeature with the given amount of CPUs
        Parameters:
        amountOfCPUs - number of CPUs in the resource
    • Method Detail

      • getAmount

        public int getAmount()
        Returns:
        the amount of CPUs
      • setAmount

        public void setAmount​(int newAmt)
        Parameters:
        newAmt - the number of CPUs to be set
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • getId

        public UUID getId()
        Returns:
        the id
      • setId

        public void setId​(UUID theid)
        Parameters:
        theid - the id to set