Interface ThreadFactoryTypeAware

All Superinterfaces:
ThreadFactory

public interface ThreadFactoryTypeAware extends ThreadFactory
The interface indicating whether the created threads are virtual or not.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Indicates whether the created threads are virtual.

    Methods inherited from interface java.util.concurrent.ThreadFactory

    newThread
  • Method Details

    • isVirtual

      boolean isVirtual()
      Indicates whether the created threads are virtual.
      Returns:
      true if the created threads are virtual, false if they are platform threads.