com.atlassian.event.internal
Class EventThreadFactory

java.lang.Object
  extended by 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.


Constructor Summary
EventThreadFactory()
           
EventThreadFactory(java.util.concurrent.ThreadFactory delegateThreadFactory)
           
 
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
 

Constructor Detail

EventThreadFactory

public EventThreadFactory()

EventThreadFactory

public EventThreadFactory(java.util.concurrent.ThreadFactory delegateThreadFactory)
Method Detail

newThread

public java.lang.Thread newThread(java.lang.Runnable r)
Specified by:
newThread in interface java.util.concurrent.ThreadFactory


Copyright © 2006-2011 Atlassian. All Rights Reserved.