stop
Stops the Netty application engine with the specified grace period and timeout.
Parameters
gracePeriodMillis
The time in milliseconds to wait for ongoing requests to complete before forcefully stopping. Defaults to 500 milliseconds.
timeoutMillis
The maximum time in milliseconds to wait for the engine to stop. Defaults to 1500 milliseconds.