Package com._1c.g5.resourcemanagement
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 Summary
Fields Modifier and Type Field Description static long
NO_SPECIFIC_MEMORY_REQUIREMENTS
Default requirements for the memory.
-
Constructor Summary
Constructors Constructor Description ActivityResourceDemands()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getExclusiveMemory()
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 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
-
-
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.
-
-