|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.platform.ego.impl.ServiceAllocRequest
public class ServiceAllocRequest
ServiceAllocRequest specifies an allocation request. This class is used to specify the allocation request while calling Client.allocate(AllocRequest req, AllocationCallbackHandler handler).
Constructor Summary | |
---|---|
ServiceAllocRequest()
|
Method Summary | |
---|---|
java.lang.String |
getConsumerName()
Get name of consumer that the service uses to request an allocation. |
java.lang.String |
getResourceGroup()
Get the resource group that the service would like to select the host from. |
java.lang.String |
getResReq()
Get resource requirement string that a host must satisfy to be considered a candidate. |
void |
setConsumerName(java.lang.String consumerName)
Set name of consumer. |
void |
setResourceGroup(java.lang.String resourceGroup)
Set the resource group the service would like to select the host from. |
void |
setResReq(java.lang.String resReq)
Set resource requirement string that a host must satisfy to be considered a candidate. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ServiceAllocRequest()
Method Detail |
---|
public java.lang.String getConsumerName()
public void setConsumerName(java.lang.String consumerName)
consumerName
- : specifies name of consumer.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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |