Class VirtualThreads

java.lang.Object
com.iizix.virtual.VirtualThreads

public class VirtualThreads extends Object
Support for better concurrency support in IIZI by means of VirtualThreads Threads in the JVM.

It is the early form of virtual threads for the IIZI system supported by Java 19 and better. Functionality to support it must be enabled as "--enabled-preview" as a parameter to the JVM.

A property "iizi.virtualthreads=false" will turn off the support regardless of JVM settings, e.g. using the Java parameter -Diizi.virtualthreads=false.

  • Constructor Details

    • VirtualThreads

      public VirtualThreads()
  • Method Details

    • getVirtualThreads

      public static IVirtualThreads getVirtualThreads()
      Gets the implInitializes support or not.