|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.uadetector.internal.util.DaemonThreadFactory
public final class DaemonThreadFactory
Factory to create daemon threads that runs as a background process and do not blocks an application shutdown
| Constructor Summary | |
|---|---|
DaemonThreadFactory(java.lang.String threadName)
Creates a new DaemonThreadFactory which creates itself threads with the specified name. |
|
| Method Summary | |
|---|---|
java.lang.Thread |
newThread(java.lang.Runnable runnable)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DaemonThreadFactory(@Nonnull
java.lang.String threadName)
DaemonThreadFactory which creates itself threads with the specified name.
threadName - name of a thread to be created| Method Detail |
|---|
public java.lang.Thread newThread(@Nonnull
java.lang.Runnable runnable)
newThread in interface java.util.concurrent.ThreadFactory
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||