Method Summary |
|
public Thread | createThread(Runnable runnable) Template method for the creation of a Thread. |
protected String | getDefaultThreadNamePrefix() Build the default thread name prefix for this factory. |
public ThreadGroup | getThreadGroup() Return the thread group that threads should be created in
(or null ) for the default group. |
public String | getThreadNamePrefix() Return the thread name prefix to use for the names of newly
created threads. |
public int | getThreadPriority() Return the priority of the threads that this factory creates. |
public boolean | isDaemon() Return whether this factory should create daemon threads. |
protected String | nextThreadName() Return the thread name to use for a newly created thread. |
public void | setDaemon(boolean daemon) Set whether this factory is supposed to create daemon threads,
just executing as long as the application itself is running.
Default is "false": Concrete factories usually support explicit
cancelling. |
public void | setThreadGroup(ThreadGroup threadGroup) Specify the thread group that threads should be created in. |
public void | setThreadGroupName(String name) Specify the name of the thread group that threads should be created in. |
public void | setThreadNamePrefix(String threadNamePrefix) Specify the prefix to use for the names of newly created threads. |
public void | setThreadPriority(int threadPriority) Set the priority of the threads that this factory creates. |