Class ContainerReapContext.Builder
java.lang.Object
org.apache.hadoop.yarn.server.nodemanager.executor.ContainerReapContext.Builder
- Enclosing class:
- ContainerReapContext
Builder for the ContainerReapContext.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the context with the attributes set.setContainer(Container container) Set the container within the context.Set the set within the context.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
setContainer
Set the container within the context.- Parameters:
container- theContainer.- Returns:
- the Builder with the container set.
-
setUser
Set the set within the context.- Parameters:
user- the user.- Returns:
- the Builder with the user set.
-
build
Builds the context with the attributes set.- Returns:
- the context.
-