Interface ThreadFactory

  • All Superinterfaces:
    java.util.concurrent.ThreadFactory
    All Known Implementing Classes:
    DefaultThreadFactory, LazyThreadFactory

    public interface ThreadFactory
    extends java.util.concurrent.ThreadFactory
    • Method Detail

      • newThread

        java.lang.Thread newThread​(java.lang.Runnable r,
                                   java.lang.String name)
      • useVirtualThreads

        boolean useVirtualThreads()
      • setPattern

        void setPattern​(java.lang.String pattern)
      • setIncludeClusterName

        void setIncludeClusterName​(boolean includeClusterName)
      • setClusterName

        void setClusterName​(java.lang.String channelName)
      • setAddress

        void setAddress​(java.lang.String address)
      • renameThread

        void renameThread​(java.lang.String base_name,
                          java.lang.Thread thread)