public interface JdbcThreadFactory
Modifier and Type | Method and Description |
---|---|
java.lang.Thread |
getThread(java.lang.Runnable target)
Get a thread for the client.
|
java.lang.Thread |
getThread(java.lang.Runnable target,
java.lang.String name)
Get a thread for the client.
|
java.lang.Thread |
getThread(java.lang.ThreadGroup group,
java.lang.Runnable target)
Get a thread for the client.
|
java.lang.Thread |
getThread(java.lang.ThreadGroup group,
java.lang.Runnable target,
java.lang.String name)
Get a thread for the client.
|
java.lang.Thread getThread(java.lang.Runnable target) throws java.sql.SQLException
target
- the Runnable object that will use this thread.java.sql.SQLException
java.lang.Thread getThread(java.lang.Runnable target, java.lang.String name) throws java.sql.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 provided
java.sql.SQLException
java.lang.Thread getThread(java.lang.ThreadGroup group, java.lang.Runnable target) throws java.sql.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.java.sql.SQLException
java.lang.Thread getThread(java.lang.ThreadGroup group, java.lang.Runnable target, java.lang.String name) throws java.sql.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.java.sql.SQLException