Package io.quarkus.runtime.shutdown
Class ShutdownConfig
- java.lang.Object
-
- io.quarkus.runtime.shutdown.ShutdownConfig
-
@ConfigRoot(phase=RUN_TIME) public class ShutdownConfig extends Object
-
-
Constructor Summary
Constructors Constructor Description ShutdownConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isShutdownTimeoutSet()
-
-
-
Field Detail
-
timeout
@ConfigItem public Optional<Duration> 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.
-
-