com.platform.ego.impl
Class ServiceAllocRequest

java.lang.Object
  extended by com.platform.ego.impl.ServiceAllocRequest

public class ServiceAllocRequest
extends java.lang.Object

ServiceAllocRequest specifies an allocation request. This class is used to specify the allocation request while calling Client.allocate(AllocRequest req, AllocationCallbackHandler handler).

Version:
1.2.3

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

ServiceAllocRequest

public ServiceAllocRequest()
Method Detail

getConsumerName

public java.lang.String getConsumerName()
Get name of consumer that the service uses to request an allocation.

Returns:
name of consumer.

setConsumerName

public void setConsumerName(java.lang.String consumerName)
Set name of consumer.

Parameters:
consumerName - : specifies name of consumer.

getResourceGroup

public java.lang.String getResourceGroup()
Get the resource group that the service would like to select the host from.

Returns:
resource group.

setResourceGroup

public void setResourceGroup(java.lang.String resourceGroup)
Set the resource group the service would like to select the host from.

Parameters:
resourceGroup - : specifies resource group.

getResReq

public java.lang.String getResReq()
Get resource requirement string that a host must satisfy to be considered a candidate.

Returns:
resource requirement string.

setResReq

public void setResReq(java.lang.String resReq)
Set resource requirement string that a host must satisfy to be considered a candidate.

Parameters:
resReq - : specifies resource requirement string.


Copyright (C) 1992-2007 Platform Computing Corporation