public interface JdbcThreadFactory
| Modifier and Type | Method and Description |
|---|---|
Thread |
getThread(Runnable target)
Get a thread for the client.
|
Thread |
getThread(Runnable target,
String name)
Get a thread for the client.
|
Thread |
getThread(ThreadGroup group,
Runnable target)
Get a thread for the client.
|
Thread |
getThread(ThreadGroup group,
Runnable target,
String name)
Get a thread for the client.
|
Thread getThread(Runnable target) throws SQLException
target - the Runnable object that will use this thread.SQLExceptionThread getThread(Runnable target, String name) throws SQLException
target - the Runnable object that will use this thread.name - the name of the thread. If a null value is given
an arbitrary name will be providedSQLExceptionThread getThread(ThreadGroup group, Runnable target) throws SQLException
group - the ThreadGroup to which the new thread will be added. If
null the new thread is added to the same thread
group as the currently executing thread.target - the Runnable object that will use this thread.SQLExceptionThread getThread(ThreadGroup group, Runnable target, String name) throws SQLException
group - the ThreadGroup to which the new thread will be added. If
null the new thread is added to the same thread
group as the currently executing thread.target - the Runnable object that will use this thread.name - the String name ofthe new thread. If a null value
is given an arbitrary name will be provided.SQLExceptionCopyright © 2014–2015. All rights reserved.