- getNumContainers
Get the number of containers required with the given specifications.
- setNumContainers
Set the number of containers required with the given specifications
- getResourceName
Get the resource (e.g. host/rack) on which the allocation is desired. A special
value of * signifies
- getCapability
Get the Resource capability of the request.
- getPriority
Get the Priority of the request.
- setCapability
Set the Resource capability of the request.
- setNodeLabelExpression
Set node label expression of this resource request. Now only support specifying
a single node label.
- setPriority
Set the Priority of the request
- newInstance
- setResourceName
Set the resource name (e.g. host/rack) on which the allocation is desired. A
special value of * sign
- getNodeLabelExpression
Get node-label-expression for this Resource Request. If this is set, all
containers allocated to sat
- getRelaxLocality
Get whether locality relaxation is enabled with thisResourceRequest. Defaults to
true.