|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.dcm4che2.net.NewThreadExecutor
public class NewThreadExecutor
Executor
implementation which executes a Runnable
object in a new thread.
Constructor Summary | |
---|---|
NewThreadExecutor(java.lang.String threadNamePrefix)
Constructor. |
Method Summary | |
---|---|
void |
execute(java.lang.Runnable runnable)
This implementatin creates a new thread every time it is called. |
java.lang.String |
getThreadNamePrefix()
Get the prefix that is prepended to threads created by this Executor |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NewThreadExecutor(java.lang.String threadNamePrefix)
threadNamePrefix
- A String containing the prefix that should be
given to the created thread.Method Detail |
---|
public final java.lang.String getThreadNamePrefix()
Executor
public void execute(java.lang.Runnable runnable)
execute
in interface java.util.concurrent.Executor
org.dcm4che2.net.Executor#execute(java.lang.Runnable)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |