stop
Synchronously stops this resource with a 30-second timeout.
Blocks the calling thread until all ongoing operations complete or the 30-second timeout expires — whichever comes first.
See also
for the asynchronous version
Throws
if the underlying reactive stream fails or the timeout expires
Synchronously stops this resource within the specified timeout.
Blocks the calling thread until all ongoing operations complete or the timeout expires.
Parameters
timeout
The maximum duration to wait for graceful shutdown to complete
See also
for the asynchronous version
for the version with the default 30-second timeout
Throws
if the underlying reactive stream fails or the timeout expires