Skip to content

Commit 5bb6532

Browse files
committed
Sync documentation of main branch
1 parent 31ea428 commit 5bb6532

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

_versions/main/guides/lifecycle.adoc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -347,6 +347,9 @@ It is not set by default, thus no delay is applied.
347347
The `@io.quarkus.runtime.ShutdownDelayInitiated` annotation is used to mark a business method of a CDI bean that should be executed when the shutdown delay initiates.
348348
The annotated method must be non-private and non-static and declare no arguments. Furthermore, `quarkus.shutdown.delay-enabled` configuration needs to be set to `true`.
349349

350+
351+
TIP: Declared `@ShutdownDelayInitiated` methods are always executed and as such may block the shutdown procedure.
352+
350353
The behavior is similar to a declaration of a `ShutdownDelayInitiatedEvent` observer.
351354
The following examples are functionally equivalent.
352355

0 commit comments

Comments
 (0)