@InterfaceAudience.Public @InterfaceStability.Unstable public abstract class ResourceLocalizationRequest extends Object
Constructor and Description |
---|
ResourceLocalizationRequest() |
Modifier and Type | Method and Description |
---|---|
abstract ContainerId |
getContainerId()
Get the
ContainerId of the container to localize resources. |
abstract Map<String,LocalResource> |
getLocalResources()
Get
LocalResource required by the container. |
static ResourceLocalizationRequest |
newInstance(ContainerId containerId,
Map<String,LocalResource> localResources) |
abstract void |
setContainerId(ContainerId containerId)
Set the
ContainerId of the container to localize resources. |
abstract void |
setLocalResources(Map<String,LocalResource> localResources)
Set
LocalResource required by the container. |
@InterfaceAudience.Public @InterfaceStability.Unstable public static ResourceLocalizationRequest newInstance(ContainerId containerId, Map<String,LocalResource> localResources)
@InterfaceAudience.Public @InterfaceStability.Unstable public abstract ContainerId getContainerId()
ContainerId
of the container to localize resources.ContainerId
of the container to localize resources.@InterfaceAudience.Private @InterfaceStability.Unstable public abstract void setContainerId(ContainerId containerId)
ContainerId
of the container to localize resources.containerId
- the containerId of the container.@InterfaceAudience.Public @InterfaceStability.Unstable public abstract Map<String,LocalResource> getLocalResources()
LocalResource
required by the container.LocalResource
required by the container@InterfaceAudience.Private @InterfaceStability.Unstable public abstract void setLocalResources(Map<String,LocalResource> localResources)
LocalResource
required by the container. All pre-existing
Map entries are cleared before adding the new MaplocalResources
- LocalResource
required by the containerCopyright © 2008–2024 Apache Software Foundation. All rights reserved.