Package com._1c.g5.resourcemanagement
Class ActivityResourceDemands
java.lang.Object
com._1c.g5.resourcemanagement.ActivityResourceDemands
Activity resource demands definition. States the number of the resources the target activity is planning to capture/use.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final long
Default requirements for the memory. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlong
Gets the ammount of the memory the activity need to capture exclusively to perform.void
setExclusiveMemory
(long exclusiveMemory) Sets the ammount of the memory the activity need to capture exclusively to perform.
-
Field Details
-
NO_SPECIFIC_MEMORY_REQUIREMENTS
public static final long NO_SPECIFIC_MEMORY_REQUIREMENTSDefault 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.
-