Class NovaAbsoluteLimit

  • All Implemented Interfaces:
    Serializable, AbsoluteLimit, ModelEntity

    public class NovaAbsoluteLimit
    extends Object
    implements AbsoluteLimit
    Absolute limits are specified as name/value pairs. The name of the absolute limit uniquely identifies the limit within a deployment. Please consult your provider for an exhaustive list of absolute value names. An absolute limit value is always specified as an integer. The name of the absolute limit determines the unit type of the integer value.

    For example, the name maxServerMeta implies that the value is in terms of server metadata items.

    Any limit which returns -1 indicates no value/no data/not supported by vendor

    Author:
    Jeremy Unruh
    See Also:
    Serialized Form
    • Constructor Detail

      • NovaAbsoluteLimit

        public NovaAbsoluteLimit()
    • Method Detail

      • getMaxServerMeta

        public int getMaxServerMeta()
        Gets the max server meta.
        Specified by:
        getMaxServerMeta in interface AbsoluteLimit
        Returns:
        the max server meta
      • getServerMetaUsed

        public int getServerMetaUsed()
        Gets the server meta used.
        Specified by:
        getServerMetaUsed in interface AbsoluteLimit
        Returns:
        the server meta used
      • getMaxPersonality

        public int getMaxPersonality()
        Gets the max personality.
        Specified by:
        getMaxPersonality in interface AbsoluteLimit
        Returns:
        the max personality
      • getPersonalityUsed

        public int getPersonalityUsed()
        Gets the personality used.
        Specified by:
        getPersonalityUsed in interface AbsoluteLimit
        Returns:
        the personality used
      • getMaxImageMeta

        public int getMaxImageMeta()
        Gets the max image meta.
        Specified by:
        getMaxImageMeta in interface AbsoluteLimit
        Returns:
        the max image meta
      • getImageMetaUsed

        public int getImageMetaUsed()
        Gets the image meta used.
        Specified by:
        getImageMetaUsed in interface AbsoluteLimit
        Returns:
        the image meta used
      • getMaxPersonalitySize

        public int getMaxPersonalitySize()
        Gets the max personality size.
        Specified by:
        getMaxPersonalitySize in interface AbsoluteLimit
        Returns:
        the max personality size
      • getPersonalitySizeUsed

        public int getPersonalitySizeUsed()
        Gets the personality size used.
        Specified by:
        getPersonalitySizeUsed in interface AbsoluteLimit
        Returns:
        the personality size used
      • getMaxTotalCores

        public int getMaxTotalCores()
        Gets the max total cores.
        Specified by:
        getMaxTotalCores in interface AbsoluteLimit
        Returns:
        the max total cores
      • getTotalCoresUsed

        public int getTotalCoresUsed()
        Gets the total cores used.
        Specified by:
        getTotalCoresUsed in interface AbsoluteLimit
        Returns:
        the total cores used
      • getMaxTotalInstances

        public int getMaxTotalInstances()
        Gets the max total instances.
        Specified by:
        getMaxTotalInstances in interface AbsoluteLimit
        Returns:
        the max total instances
      • getTotalInstancesUsed

        public int getTotalInstancesUsed()
        Gets the total instances used.
        Specified by:
        getTotalInstancesUsed in interface AbsoluteLimit
        Returns:
        the total instances used
      • getMaxTotalRAMSize

        public int getMaxTotalRAMSize()
        Gets the max total ram size.
        Specified by:
        getMaxTotalRAMSize in interface AbsoluteLimit
        Returns:
        the max total ram size
      • getTotalRAMUsed

        public int getTotalRAMUsed()
        Gets the total ram used.
        Specified by:
        getTotalRAMUsed in interface AbsoluteLimit
        Returns:
        the total ram used
      • getMaxSecurityGroupRules

        public int getMaxSecurityGroupRules()
        Gets the max security group rules.
        Specified by:
        getMaxSecurityGroupRules in interface AbsoluteLimit
        Returns:
        the max security group rules
      • getSecurityGroupRulesUsed

        public int getSecurityGroupRulesUsed()
        Gets the security group rules used.
        Specified by:
        getSecurityGroupRulesUsed in interface AbsoluteLimit
        Returns:
        the security group rules used
      • getMaxTotalKeypairs

        public int getMaxTotalKeypairs()
        Gets the max total keypairs.
        Specified by:
        getMaxTotalKeypairs in interface AbsoluteLimit
        Returns:
        the max total keypairs
      • getTotalKeyPairsUsed

        public int getTotalKeyPairsUsed()
        Gets the total key pairs used.
        Specified by:
        getTotalKeyPairsUsed in interface AbsoluteLimit
        Returns:
        the total key pairs used
      • getMaxTotalVolumes

        public int getMaxTotalVolumes()
        Gets the max total volumes.
        Specified by:
        getMaxTotalVolumes in interface AbsoluteLimit
        Returns:
        the max total volumes
      • getTotalVolumesUsed

        public int getTotalVolumesUsed()
        Gets the total volumes used.
        Specified by:
        getTotalVolumesUsed in interface AbsoluteLimit
        Returns:
        the total volumes used
      • getMaxSecurityGroups

        public int getMaxSecurityGroups()
        Gets the max security groups.
        Specified by:
        getMaxSecurityGroups in interface AbsoluteLimit
        Returns:
        the max security groups
      • getTotalSecurityGroupsUsed

        public int getTotalSecurityGroupsUsed()
        Gets the total security groups used.
        Specified by:
        getTotalSecurityGroupsUsed in interface AbsoluteLimit
        Returns:
        the total security groups used
      • getMaxTotalFloatingIps

        public int getMaxTotalFloatingIps()
        Gets the max total floating ips.
        Specified by:
        getMaxTotalFloatingIps in interface AbsoluteLimit
        Returns:
        the max total floating ips
      • getTotalFloatingIpsUsed

        public int getTotalFloatingIpsUsed()
        Gets the total floating ips used.
        Specified by:
        getTotalFloatingIpsUsed in interface AbsoluteLimit
        Returns:
        the total floating ips used
      • getMaxTotalVolumeGigabytes

        public int getMaxTotalVolumeGigabytes()
        Gets the max total volume gigabytes.
        Specified by:
        getMaxTotalVolumeGigabytes in interface AbsoluteLimit
        Returns:
        the max total volume gigabytes
      • getTotalVolumeGigabytesUsed

        public int getTotalVolumeGigabytesUsed()
        Gets the total volume gigabytes used.
        Specified by:
        getTotalVolumeGigabytesUsed in interface AbsoluteLimit
        Returns:
        the total volume gigabytes used
      • getMaxServerGroupMembers

        public int getMaxServerGroupMembers()
        Description copied from interface: AbsoluteLimit
        Gets the max server group members
        Specified by:
        getMaxServerGroupMembers in interface AbsoluteLimit
        Returns:
        the max server group members (-1 indicates no value)
      • getMaxServerGroups

        public int getMaxServerGroups()
        Description copied from interface: AbsoluteLimit
        Gets the max server groups
        Specified by:
        getMaxServerGroups in interface AbsoluteLimit
        Returns:
        the max server groups (-1 indicates no value)