public class ContainerRetryContextPBImpl
extends org.apache.hadoop.yarn.api.records.ContainerRetryContext
| Constructor | Description |
|---|---|
ContainerRetryContextPBImpl() |
|
ContainerRetryContextPBImpl(org.apache.hadoop.yarn.proto.YarnProtos.ContainerRetryContextProto proto) |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
equals(java.lang.Object other) |
|
java.util.Set<java.lang.Integer> |
getErrorCodes() |
|
long |
getFailuresValidityInterval() |
|
int |
getMaxRetries() |
|
org.apache.hadoop.yarn.proto.YarnProtos.ContainerRetryContextProto |
getProto() |
|
int |
getRetryInterval() |
|
org.apache.hadoop.yarn.api.records.ContainerRetryPolicy |
getRetryPolicy() |
|
int |
hashCode() |
|
void |
setErrorCodes(java.util.Set<java.lang.Integer> errCodes) |
|
void |
setFailuresValidityInterval(long failuresValidityInterval) |
|
void |
setMaxRetries(int maxRetries) |
|
void |
setRetryInterval(int retryInterval) |
|
void |
setRetryPolicy(org.apache.hadoop.yarn.api.records.ContainerRetryPolicy containerRetryPolicy) |
|
java.lang.String |
toString() |
public ContainerRetryContextPBImpl()
public ContainerRetryContextPBImpl(org.apache.hadoop.yarn.proto.YarnProtos.ContainerRetryContextProto proto)
public org.apache.hadoop.yarn.proto.YarnProtos.ContainerRetryContextProto getProto()
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object other)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic org.apache.hadoop.yarn.api.records.ContainerRetryPolicy getRetryPolicy()
getRetryPolicy in class org.apache.hadoop.yarn.api.records.ContainerRetryContextpublic void setRetryPolicy(org.apache.hadoop.yarn.api.records.ContainerRetryPolicy containerRetryPolicy)
setRetryPolicy in class org.apache.hadoop.yarn.api.records.ContainerRetryContextpublic java.util.Set<java.lang.Integer> getErrorCodes()
getErrorCodes in class org.apache.hadoop.yarn.api.records.ContainerRetryContextpublic void setErrorCodes(java.util.Set<java.lang.Integer> errCodes)
setErrorCodes in class org.apache.hadoop.yarn.api.records.ContainerRetryContextpublic int getMaxRetries()
getMaxRetries in class org.apache.hadoop.yarn.api.records.ContainerRetryContextpublic void setMaxRetries(int maxRetries)
setMaxRetries in class org.apache.hadoop.yarn.api.records.ContainerRetryContextpublic int getRetryInterval()
getRetryInterval in class org.apache.hadoop.yarn.api.records.ContainerRetryContextpublic void setRetryInterval(int retryInterval)
setRetryInterval in class org.apache.hadoop.yarn.api.records.ContainerRetryContextpublic long getFailuresValidityInterval()
getFailuresValidityInterval in class org.apache.hadoop.yarn.api.records.ContainerRetryContextpublic void setFailuresValidityInterval(long failuresValidityInterval)
setFailuresValidityInterval in class org.apache.hadoop.yarn.api.records.ContainerRetryContextCopyright © 2008–2025 Apache Software Foundation. All rights reserved.