public interface GracefulShutdown
WebServer
.Modifier and Type | Method and Description |
---|---|
boolean |
isShuttingDown()
Returns whether the handler is in the process of gracefully shutting down the web
server.
|
boolean |
shutDownGracefully()
Shuts down the
WebServer , returning true if activity ceased during
the grace period, otherwise false . |
boolean shutDownGracefully()
WebServer
, returning true
if activity ceased during
the grace period, otherwise false
.true
if activity ceased during the grace period, otherwise
false
boolean isShuttingDown()
true
is graceful shutdown is in progress, otherwise false
.