public class ThreadFactoryUser
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
protected static class |
ThreadFactoryUser.DefaultThreadFactory |
Modifier and Type | Field and Description |
---|---|
protected ThreadFactory |
threadFactory_ |
Constructor and Description |
---|
ThreadFactoryUser() |
Modifier and Type | Method and Description |
---|---|
ThreadFactory |
getThreadFactory()
Get the factory for creating new threads.
|
ThreadFactory |
setThreadFactory(ThreadFactory factory)
Set the factory for creating new threads.
|
protected ThreadFactory threadFactory_
public ThreadFactory setThreadFactory(ThreadFactory factory)
factory
- the factory to usepublic ThreadFactory getThreadFactory()