Class CreateThreadAction

    • Field Detail

      • name

        private final String name
      • stackSize

        private final long stackSize
    • Constructor Detail

      • CreateThreadAction

        public CreateThreadAction​(String name)
        Construct a new instance.
        Parameters:
        name - the name of the thread (may not be null)
      • CreateThreadAction

        public CreateThreadAction​(ThreadGroup group,
                                  String name)
        Construct a new instance.
        Parameters:
        group - the thread group to use
        name - the name of the thread (may not be null)
      • CreateThreadAction

        public CreateThreadAction​(Runnable target,
                                  String name)
        Construct a new instance.
        Parameters:
        target - the runnable target
        name - the name of the thread (may not be null)
      • CreateThreadAction

        public CreateThreadAction​(ThreadGroup group,
                                  Runnable target,
                                  String name)
        Construct a new instance.
        Parameters:
        group - the thread group to use
        target - the runnable target
        name - the name of the thread (may not be null)
      • CreateThreadAction

        public CreateThreadAction​(ThreadGroup group,
                                  Runnable target,
                                  String name,
                                  long stackSize)
        Construct a new instance.
        Parameters:
        group - the thread group to use
        target - the runnable target
        name - the name of the thread (may not be null)
        stackSize - the stack size to use