@Retention(value=RUNTIME) @Target(value=TYPE) public @interface Critical
Indicates that event is critical and should be processed immediately.
Such type of events are usually used to track critical events, after which application is very unlikely to recover (for example, cluster panic). Such events should not be placed into the queue, because application may shutdown before event is served.
Critical events are handled synchronously in the caller thread and should be used very carefully, as they may dramatically slow down application performance.
Critical events have to be only used for "application crashed" type of events in clustered applications.
Copyright © 2019 Atlassian. All rights reserved.