|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.platform.ego.impl.AllocRequest
public class AllocRequest
AllocRequest specifies an allocation request. This class is used to specify the allocation request while calling allocate() .
Field Summary | |
---|---|
static int |
EGO_ALLOC_EXCLUSIVE
If EGO_ALLOC_EXCLUSIVE is set, host allocated is not shared by other allocations. |
Constructor Summary | |
---|---|
AllocRequest()
|
Method Summary | |
---|---|
java.lang.String |
getAllocName()
Get name of allocation. |
java.lang.String |
getConsumerName()
Get name of consumer. |
int |
getFlags()
Get flags: valid flags: - EGO_ALLOC_EXCLUSIVE: host allocated is not shared by other allocations. |
int |
getMaxslots()
Get maximum slots that this request requires. |
int |
getMinslots()
Get minimum slots that this request requires. |
java.lang.String |
getResourceGroup()
Get resource group that client would like the host to be from. |
java.lang.String |
getResReq()
Get resource requirement string that a host must satisfy to be considered a candidate. |
int |
getTile()
Get slots distribution. |
void |
setAllocName(java.lang.String allocName)
Set name of allocation. |
void |
setConsumerName(java.lang.String consumerName)
Set name of consumer. |
void |
setFlags(int flags)
Set flags |
void |
setMaxslots(int maxslots)
Set maximum slots that this request requires. |
void |
setMinslots(int minslots)
Set minimum slots that this request requires. |
void |
setResourceGroup(java.lang.String resourceGroup)
Set resource group that client would like the host to be from. |
void |
setResReq(java.lang.String resReq)
Set resource requirement string that a host must satisfy to be considered a candidate. |
void |
setTile(int tile)
Set slots distribution. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int EGO_ALLOC_EXCLUSIVE
Constructor Detail |
---|
public AllocRequest()
Method Detail |
---|
public java.lang.String getAllocName()
public void setAllocName(java.lang.String allocName)
allocName
- : specifies name of allocation.public java.lang.String getConsumerName()
public void setConsumerName(java.lang.String consumerName)
consumerName
- : specifies name of consumer.public int getFlags()
public void setFlags(int flags)
- EGO_ALLOC_EXCLUSIVE: host allocated is not shared by other allocations.
flags
- getFlags()
public int getMaxslots()
public void setMaxslots(int maxslots)
maxslots
- : specifies maximum slots.public int getMinslots()
public void setMinslots(int minslots)
minslots
- : specifies minimum slots.public java.lang.String getResourceGroup()
public void setResourceGroup(java.lang.String resourceGroup)
resourceGroup
- : specifies resource group.public java.lang.String getResReq()
public void setResReq(java.lang.String resReq)
resReq
- : specifies resource requirement string.public int getTile()
public void setTile(int tile)
tile
- : specifies slots distribution.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |