org.springframework.yarn.am
Interface ContainerLauncherInterceptor
- All Known Implementing Classes:
- AbstractProcessingAppmaster, StaticAppmaster
public interface ContainerLauncherInterceptor
Interface for interceptors that are able to view and/or modify the
ContainerLaunchContext before the container is launched.
- Author:
- Janne Valkealahti
preLaunch
ContainerLaunchContext preLaunch(Container container,
ContainerLaunchContext context)
- Invoked before the
ContainerLaunchContext is used
to launch the container.
- Parameters:
context - the ContainerLaunchContextcontainer - the Container
- Returns:
- Unchanged or modified
ContainerLaunchContext