| Modifier and Type | Field and Description |
|---|---|
| protected ThreadFactory | factory
The factory implementation. |
| Access | Constructor and Description |
|---|---|
| public | HsqlThreadFactory()
Constructs a new HsqlThreadFactory that uses itself as the factory implementation. |
| public | HsqlThreadFactory(ThreadFactory
the factory implementation this factory uses f)Constructs a new HsqlThreadFactory whose retrieved threads come from the specified ThreadFactory object or from this factory implementation, if the specified implementation is null. |
| Modifier and Type | Method and Description |
|---|---|
| public synchronized ThreadFactory | Returns: the factory implementation that this factory is using to produce threads.Retrieves the factory implementation that this factory is using to produce threads. |
| public Thread | Returns: the requested thread instanceThe runnable that the retrieved thread handles r)Implements org. Retrieves a thread instance for running the specified Runnable |
| public synchronized ThreadFactory | Returns: the previously installed factory implementationthe factory implementation that this factory will use
to produce threads f)Sets the factory implementation that this factory will use to produce threads. |
| factory | back to summary |
|---|---|
| protected ThreadFactory factory The factory implementation. Typically, this will be the HsqlThreadFactory object itself. | |
| HsqlThreadFactory | back to summary |
|---|---|
| public HsqlThreadFactory() Constructs a new HsqlThreadFactory that uses itself as the factory implementation. | |
| HsqlThreadFactory | back to summary |
|---|---|
| public HsqlThreadFactory(ThreadFactory f) Constructs a new HsqlThreadFactory whose retrieved threads come from the specified ThreadFactory object or from this factory implementation, if the specified implementation is null.
| |
| getImpl | back to summary |
|---|---|
| public synchronized ThreadFactory getImpl() Retrieves the factory implementation that this factory is using to produce threads.
| |
| newThread | back to summary |
|---|---|
| public Thread newThread(Runnable r) Implements org. Retrieves a thread instance for running the specified Runnable | |
| setImpl | back to summary |
|---|---|
| public synchronized ThreadFactory setImpl(ThreadFactory f) Sets the factory implementation that this factory will use to produce threads. If the specified argument, f, is null, then this factory uses itself as the implementation.
| |