Class ActivityResourceDemands

java.lang.Object
com._1c.g5.resourcemanagement.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 Details

    • 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:
  • Constructor Details

    • ActivityResourceDemands

      public ActivityResourceDemands()
  • Method Details

    • 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.