Class EventLoopThreadFactory

    • Constructor Detail

      • EventLoopThreadFactory

        public EventLoopThreadFactory​(String threadNamePrefix)
        Deprecated.
        Creates a new factory that creates a non-daemon and normal-priority thread.
        Parameters:
        threadNamePrefix - the prefix of the names of the threads created by this factory.
      • EventLoopThreadFactory

        public EventLoopThreadFactory​(String threadNamePrefix,
                                      boolean daemon)
        Deprecated.
        Creates a new factory that creates a normal-priority thread.
        Parameters:
        threadNamePrefix - the prefix of the names of the threads created by this factory.
        daemon - whether to create a daemon thread.
      • EventLoopThreadFactory

        public EventLoopThreadFactory​(String threadNamePrefix,
                                      int priority)
        Deprecated.
        Creates a new factory that creates a non-daemon thread.
        Parameters:
        threadNamePrefix - the prefix of the names of the threads created by this factory.
        priority - the priority of the threads created by this factory.
      • EventLoopThreadFactory

        public EventLoopThreadFactory​(String threadNamePrefix,
                                      boolean daemon,
                                      int priority)
        Deprecated.
        Creates a new factory.
        Parameters:
        threadNamePrefix - the prefix of the names of the threads created by this factory.
        daemon - whether to create a daemon thread.
        priority - the priority of the threads created by this factory.
      • EventLoopThreadFactory

        public EventLoopThreadFactory​(String threadNamePrefix,
                                      boolean daemon,
                                      int priority,
                                      @Nullable
                                      ThreadGroup threadGroup)
        Deprecated.
        Creates a new factory.
        Parameters:
        threadNamePrefix - the prefix of the names of the threads created by this factory.
        daemon - whether to create a daemon thread.
        priority - the priority of the threads created by this factory.
        threadGroup - the ThreadGroup.