org.gudy.azureus2.core3.util
Class AEThread2

java.lang.Object
  extended by org.gudy.azureus2.core3.util.AEThread2
Direct Known Subclasses:
UIUpdaterSWT

public abstract class AEThread2
extends java.lang.Object


Nested Class Summary
protected static class AEThread2.threadWrapper
           
 
Field Summary
static boolean TRACE_TIMES
           
 
Constructor Summary
AEThread2(java.lang.String _name)
           
AEThread2(java.lang.String _name, boolean _daemon)
           
 
Method Summary
static java.lang.Object[] getDebug(java.lang.Thread t)
          entry 0 is debug object, 1 is Long mono-time it was set
 java.lang.String getName()
           
 void interrupt()
           
 boolean isAlive()
           
 boolean isCurrentThread()
           
static boolean isOurThread(java.lang.Thread thread)
           
 void join()
           
abstract  void run()
           
static void setDebug(java.lang.Object debug)
           
 void setName(java.lang.String s)
           
static void setOurThread()
           
static void setOurThread(java.lang.Thread thread)
           
 void setPriority(int _priority)
           
 void start()
          multiple invocations of start() are possible, but discouraged if combined with other thread operations such as interrupt() or join()
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

TRACE_TIMES

public static final boolean TRACE_TIMES
See Also:
Constant Field Values
Constructor Detail

AEThread2

public AEThread2(java.lang.String _name)

AEThread2

public AEThread2(java.lang.String _name,
                 boolean _daemon)
Method Detail

start

public void start()
multiple invocations of start() are possible, but discouraged if combined with other thread operations such as interrupt() or join()


setPriority

public void setPriority(int _priority)

setName

public void setName(java.lang.String s)

getName

public java.lang.String getName()

interrupt

public void interrupt()

isAlive

public boolean isAlive()

isCurrentThread

public boolean isCurrentThread()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

run

public abstract void run()

isOurThread

public static boolean isOurThread(java.lang.Thread thread)

setOurThread

public static void setOurThread()

setOurThread

public static void setOurThread(java.lang.Thread thread)

setDebug

public static void setDebug(java.lang.Object debug)

getDebug

public static java.lang.Object[] getDebug(java.lang.Thread t)
entry 0 is debug object, 1 is Long mono-time it was set

Parameters:
t -
Returns:

join

public void join()