@InterfaceAudience.Public @InterfaceStability.Unstable public class ContainerLogContext extends Object
ContainerLogAggregationPolicy
.Constructor and Description |
---|
ContainerLogContext(ContainerId containerId,
ContainerType containerType,
int exitCode) |
Modifier and Type | Method and Description |
---|---|
ContainerId |
getContainerId()
Get
ContainerId of the container. |
ContainerType |
getContainerType()
Get
ContainerType the type of the container. |
int |
getExitCode()
Get the exit code of the container.
|
@InterfaceAudience.Public @InterfaceStability.Unstable public ContainerLogContext(ContainerId containerId, ContainerType containerType, int exitCode)
public ContainerId getContainerId()
ContainerId
of the container.public ContainerType getContainerType()
ContainerType
the type of the container.public int getExitCode()
Copyright © 2008–2021 Apache Software Foundation. All rights reserved.