public final class CreateThreadAction extends Object implements PrivilegedAction<Thread>
| Constructor and Description |
|---|
CreateThreadAction(Runnable target,
String name)
Construct a new instance.
|
CreateThreadAction(String name)
Construct a new instance.
|
CreateThreadAction(ThreadGroup group,
Runnable target,
String name)
Construct a new instance.
|
CreateThreadAction(ThreadGroup group,
Runnable target,
String name,
long stackSize)
Construct a new instance.
|
CreateThreadAction(ThreadGroup group,
String name)
Construct a new instance.
|
public CreateThreadAction(String name)
name - the name of the thread (may not be null)public CreateThreadAction(ThreadGroup group, String name)
group - the thread group to usename - the name of the thread (may not be null)public CreateThreadAction(Runnable target, String name)
target - the runnable targetname - the name of the thread (may not be null)public CreateThreadAction(ThreadGroup group, Runnable target, String name)
group - the thread group to usetarget - the runnable targetname - the name of the thread (may not be null)public CreateThreadAction(ThreadGroup group, Runnable target, String name, long stackSize)
group - the thread group to usetarget - the runnable targetname - the name of the thread (may not be null)stackSize - the stack size to usepublic Thread run()
run in interface PrivilegedAction<Thread>Copyright © 2017 JBoss by Red Hat. All rights reserved.