public class ApplicationComponentAllocationInfo
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
ApplicationComponentAllocationInfo()
Constructor to create new allocation information for an Application Component.
|
Modifier and Type | Method and Description |
---|---|
static ApplicationComponentAllocationInfo |
from(javax.management.openmbean.CompositeData data) |
static ApplicationComponentAllocationInfo[] |
from(javax.management.openmbean.CompositeData[] data) |
AllocationRuleInfo[] |
getAllocationRules()
Gets a list of allocation rules associated with this Application Component.
|
int |
getMax()
Gets the maximum number of Engines that can be allocated to this Application Component.
|
int |
getMin()
Gets the minimum number of Engines that should be allocated to this Application Component.
|
java.lang.String |
getName()
Gets name of the Application Component allocation configuration.
|
int |
getPriority()
Gets the priority for allocation associated with this Application Component.
|
void |
setAllocationRules(AllocationRuleInfo[] allocationRules)
Sets allocation rules to be associated with this Application Component.
|
void |
setMax(int max)
Sets the maximum number of Engines that could be allocated to this Application Component.
|
void |
setMin(int min)
Sets the minimum number of Engines that should be allocated to this Application Component.
|
void |
setName(java.lang.String name)
Sets the name of the Application Component.
|
void |
setPriority(int priority)
Sets the priority for this Application Component to be honored by the allocation process.
|
public ApplicationComponentAllocationInfo()
public java.lang.String getName()
public void setName(java.lang.String name)
name
- The name of the Application Component.public int getMin()
public void setMin(int min)
min
- The minimum number of Engines to be allocated.public int getMax()
public void setMax(int max)
max
- The maximum number of Engines that could be allocated.public int getPriority()
public void setPriority(int priority)
priority
- The resource allocation priority for the Application Component.public AllocationRuleInfo[] getAllocationRules()
public void setAllocationRules(AllocationRuleInfo[] allocationRules)
allocationRules
- Allocation rules to be associated to the Application Component.public static ApplicationComponentAllocationInfo[] from(javax.management.openmbean.CompositeData[] data)
public static ApplicationComponentAllocationInfo from(javax.management.openmbean.CompositeData data)
Copyright © 2014 TIBCO Software, Inc. All Rights Reserved.