First tries to stop, then kills an application, using the given ApplicationStopper.
StopStrategyPtr getStopAndKillStrategy(ApplicationStopperPtr appStopper, int delay)
Creates a StopStrategy that first tries to stop the application, the waits a certain amount of time,...
StopStrategyPtr getKillStrategy(ApplicationStopperPtr appStopper)
StopStrategyPtr getStopStrategy(ApplicationStopperPtr appStopper)
Creates a StopStrategy that simply tries to stop the application.
Simply stops the application, using the given ApplicationStopper.
std::shared_ptr< ApplicationStopper > ApplicationStopperPtr
std::shared_ptr< StopStrategy > StopStrategyPtr