public interface ContainerContext
Use ApplicationContainerContext for the application-defined context for the current container.
| Modifier and Type | Method and Description |
|---|---|
MetricsRegistry |
getContainerMetricsRegistry()
Gets the
MetricsRegistry for this container, which can be used to register metrics that are
reported per container. |
ContainerModel |
getContainerModel()
Gets the
ContainerModel for this container, which contains this container's id and its TaskModel. |
ContainerModel getContainerModel()
ContainerModel for this container, which contains this container's id and its TaskModel.ContainerModel for this containerMetricsRegistry getContainerMetricsRegistry()
MetricsRegistry for this container, which can be used to register metrics that are
reported per container.MetricsRegistry for this container