Package io.quarkus.runtime.shutdown
Class ShutdownConfig
java.lang.Object
io.quarkus.runtime.shutdown.ShutdownConfig
Shutdown
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
timeout
The timeout to wait for running requests to finish. If this is not set then the application will exit immediately. Setting this timeout will incur a small performance penalty, as it requires active requests to be tracked. -
delay
Delay between shutdown being requested and actually initiated. Also called the pre-shutdown phase. In pre-shutdown, the server continues working as usual, except a readiness probe starts reporting "down" (if thesmallrye-healthextension is present). This gives the infrastructure time to detect that the application instance is shutting down and stop routing traffic to it. Notice that this property will only take effect ifquarkus.shutdown.delay-enabledis explicitly set totrue.
-
-
Constructor Details
-
ShutdownConfig
public ShutdownConfig()
-
-
Method Details
-
isShutdownTimeoutSet
public boolean isShutdownTimeoutSet() -
isDelaySet
public boolean isDelaySet()
-