|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--java.lang.Thread
|
+--org.PingOO.DLAI.lib.util.PThread
Threads to be used in this program.
Thread,
ThreadGroup| Field Summary | |
private static int |
THREAD_COUNT
The current nulber of existing threads. |
static java.lang.String |
THREAD_IDENTIFIER
String used to create a name for PingOO thrads initialized witout a name. |
private static int |
THREAD_NUMBER
The thread number generator. |
private int |
threadIdentifier
The unique identifier of the current thread. |
| Fields inherited from class java.lang.Thread |
contextClassLoader,
daemon,
eetop,
group,
inheritedAccessControlContext,
MAX_PRIORITY,
MIN_PRIORITY,
name,
NORM_PRIORITY,
priority,
single_step,
stillborn,
stopThreadPermission,
target,
threadInitNumber,
threadQ,
values |
| Constructor Summary | |
PThread()
Allocates a new Thread object. |
|
PThread(PThreadGroup group,
java.lang.Runnable target)
Allocates a new Thread object. |
|
PThread(PThreadGroup group,
java.lang.Runnable target,
java.lang.String name)
Allocates a new Thread object so that it has target as its run object, has the specified name as its name, and belongs to the thread group referred to by group. |
|
PThread(PThreadGroup group,
java.lang.String name)
Allocates a new Thread object. |
|
PThread(java.lang.Runnable target)
Allocates a new Thread object. |
|
PThread(java.lang.Runnable target,
java.lang.String name)
Allocates a new Thread object. |
|
PThread(java.lang.String name)
Allocates a new Thread object. |
|
| Method Summary | |
protected void |
finalize()
Called by the garbage collector on an object when garbage collection determines that there are no more references to the object. |
static int |
getInstanceNumber()
Returns the number identifier of the last instancied thread. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Thread |
|
| Methods inherited from class java.lang.Object |
clone,
equals,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
| Field Detail |
public static final java.lang.String THREAD_IDENTIFIER
private static int THREAD_NUMBER
private static int THREAD_COUNT
private int threadIdentifier
| Constructor Detail |
public PThread()
public PThread(java.lang.Runnable target)
target - The object whose run method is called.
public PThread(java.lang.Runnable target,
java.lang.String name)
target - The object whose run method is called.name - The name of the new thread.public PThread(java.lang.String name)
name - The name of the new thread.
public PThread(PThreadGroup group,
java.lang.Runnable target)
group - The thread group.target - The object whose run method is called.
public PThread(PThreadGroup group,
java.lang.String name)
group - The thread group.name - The name of the new thread.
public PThread(PThreadGroup group,
java.lang.Runnable target,
java.lang.String name)
group - The thread group.target - The object whose run method is called.name - The name of the new thread.| Method Detail |
public static int getInstanceNumber()
public java.lang.String toString()
protected void finalize()
throws java.lang.Throwable
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||