Top Description Methods
io.smallrye.common.annotation

public @Interface RunOnVirtualThread

extends Annotation
Annotations
@Retention:RUNTIME
@Target:METHOD, TYPE
@Experimental:This is an experimental feature still at the alpha stage
Imports
java.lang.annotation.ElementType, .Retention, .RetentionPolicy, .Target

If supported, this annotation indicates that the (blocking) method should be invoked on a virtual thread instead of a regular (OS) worker thread. This annotation should only be used on blocking methods, either marked explicitly blocking (using io.smallrye.common.annotation.Blocking) or considered blocking by the underlying framework.
See Also
Blocking, NonBlocking

Method Summary

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString