Class ActivityResourceDemands


  • public class ActivityResourceDemands
    extends Object
    Activity resource demands definition. States the number of the resources the target activity is planning to capture/use.
    • Field Detail

      • NO_SPECIFIC_MEMORY_REQUIREMENTS

        public static final long NO_SPECIFIC_MEMORY_REQUIREMENTS
        Default requirements for the memory. Means no exclusive memory is required for the activity.
        See Also:
        Constant Field Values
    • Constructor Detail

      • ActivityResourceDemands

        public ActivityResourceDemands()
    • Method Detail

      • getExclusiveMemory

        public long getExclusiveMemory()
        Gets the ammount of the memory the activity need to capture exclusively to perform.
        Returns:
        The amount of the memory the activity likes to capture exclusively.
      • setExclusiveMemory

        public void setExclusiveMemory​(long exclusiveMemory)
        Sets the ammount of the memory the activity need to capture exclusively to perform.
        Parameters:
        exclusiveMemory - Amount to set, in bytes.