Top Annotations
module io.smallrye.common.annotation

Package io.smallrye.common.annotation


Annotation Summary

Modifier and TypeAnnotation and Description
public @interface
Blocking

Annotation used to indicate that the annotated method is inherently blocking and so should not be executed on a non-blockable thread (I/O thread, event loops...).

public @interface
CheckReturnValue

Marker annotation for methods whose return values shall not be ignored under common API usage patterns.

public @interface
Experimental

Annotation that specifies that an element is experimental and may change without notice.

public @interface
Identifier

String-based qualifier.

public @interface
NonBlocking

Annotation used to indicate that the annotated method is inherently non-blocking and so can be executed on a non-blockable thread (I/O threads, event loops...) without the need to offload the work to another thread.

public @interface
RunOnVirtualThread

If supported, this annotation indicates that the (blocking) method should be invoked on a virtual thread instead of a regular (OS) worker thread.

public @interface
TechPreview

Annotation that specifies that an element is tech preview and may change in the future.