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. If the timeout expires, this method returns without guaranteeing that all operations have finished.
See also
for the asynchronous version
Throws
if the underlying reactive stream fails
Synchronously stops this resource within the specified timeout.
Blocks the calling thread until all ongoing operations complete or the timeout expires. If the timeout expires, this method returns without guaranteeing that all operations have finished.
Parameters
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