@Public
@Unstable
public abstract class ResourceLocalizationRequest
extends java.lang.Object
| Constructor | Description |
|---|---|
ResourceLocalizationRequest() |
| Modifier and Type | Method | Description |
|---|---|---|
abstract ContainerId |
getContainerId() |
Get the
ContainerId of the container to localize resources. |
abstract java.util.Map<java.lang.String,LocalResource> |
getLocalResources() |
Get
LocalResource required by the container. |
static ResourceLocalizationRequest |
newInstance(ContainerId containerId,
java.util.Map<java.lang.String,LocalResource> localResources) |
|
abstract void |
setContainerId(ContainerId containerId) |
Set the
ContainerId of the container to localize resources. |
abstract void |
setLocalResources(java.util.Map<java.lang.String,LocalResource> localResources) |
Set
LocalResource required by the container. |
@Public @Unstable public static ResourceLocalizationRequest newInstance(ContainerId containerId, java.util.Map<java.lang.String,LocalResource> localResources)
@Public @Unstable public abstract ContainerId getContainerId()
ContainerId of the container to localize resources.ContainerId of the container to localize resources.@Private @Unstable public abstract void setContainerId(ContainerId containerId)
ContainerId of the container to localize resources.containerId - the containerId of the container.@Public @Unstable public abstract java.util.Map<java.lang.String,LocalResource> getLocalResources()
LocalResource required by the container.LocalResource required by the container@Private @Unstable public abstract void setLocalResources(java.util.Map<java.lang.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–2025 Apache Software Foundation. All rights reserved.