com.atlassian.event.internal
Class EventThreadFactory
java.lang.Object
com.atlassian.event.internal.EventThreadFactory
- All Implemented Interfaces:
- java.util.concurrent.ThreadFactory
public final class EventThreadFactory
- extends java.lang.Object
- implements java.util.concurrent.ThreadFactory
A thread factory that will name the threads AtlassianEvent::[thread_name].
If you need your own ThreadFactory
we recommend delegating the Thread creation to
this implementation.
Method Summary |
java.lang.Thread |
newThread(java.lang.Runnable r)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EventThreadFactory
public EventThreadFactory()
EventThreadFactory
public EventThreadFactory(java.util.concurrent.ThreadFactory delegateThreadFactory)
newThread
public java.lang.Thread newThread(java.lang.Runnable r)
- Specified by:
newThread
in interface java.util.concurrent.ThreadFactory
Copyright © 2006-2010 Atlassian. All Rights Reserved.