DefaultThreadFactory
, LazyThreadFactory
, ThreadManagerThreadPoolExecutor
, TimeScheduler
public interface ThreadManager
ThreadDecorator
to allow it to alter their state.Modifier and Type | Method | Description |
---|---|---|
ThreadDecorator |
getThreadDecorator() |
Gets the ThreadDecorator associated with this manager.
|
void |
setThreadDecorator(ThreadDecorator decorator) |
Sets the ThreadDecorator associated this manager should use.
|
ThreadDecorator getThreadDecorator()
null
if there is none.void setThreadDecorator(ThreadDecorator decorator)
decorator
- the ThreadDecorator, or null
.Copyright ? 1998-2008 Bela Ban. All Rights Reserved.