## Uses of Class
org.apache.hadoop.yarn.api.records.ContainerRetryContext

- Packages that use ContainerRetryContext
  Package | Description
  --- | ---
  org.apache.hadoop.yarn.api.records |

- - ### Uses of ContainerRetryContext in org.apache.hadoop.yarn.api.records

    Fields in org.apache.hadoop.yarn.api.records declared as ContainerRetryContext
    Modifier and Type | Field and Description
    --- | ---
    `static ContainerRetryContext` | ContainerRetryContext.`NEVER_RETRY_CONTEXT`

    Methods in org.apache.hadoop.yarn.api.records that return ContainerRetryContext
    Modifier and Type | Method and Description
    --- | ---
    `abstract ContainerRetryContext` | ContainerLaunchContext.`getContainerRetryContext()` Get the `ContainerRetryContext` to relaunch container.
    `static ContainerRetryContext` | ContainerRetryContext.`newInstance(ContainerRetryPolicy retryPolicy, Set<Integer> errorCodes, int maxRetries, int retryInterval)`
    `static ContainerRetryContext` | ContainerRetryContext.`newInstance(ContainerRetryPolicy retryPolicy, Set<Integer> errorCodes, int maxRetries, int retryInterval, long failuresValidityInterval)`

    Methods in org.apache.hadoop.yarn.api.records with parameters of type ContainerRetryContext
    Modifier and Type | Method and Description
    --- | ---
    `static ContainerLaunchContext` | ContainerLaunchContext.`newInstance(Map<String,LocalResource> localResources, Map<String,String> environment, List<String> commands, Map<String,ByteBuffer> serviceData, ByteBuffer tokens, Map<ApplicationAccessType,String> acls, ContainerRetryContext containerRetryContext)`
    `abstract void` | ContainerLaunchContext.`setContainerRetryContext(ContainerRetryContext containerRetryContext)` Set the `ContainerRetryContext` to relaunch container.

Copyright © 2008–2022 Apache Software Foundation. All rights reserved.