All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class TET.TetThread

java.lang.Object
   |
   +----java.lang.Thread
           |
           +----TET.TetThread

public class TetThread
extends Thread
The Thread class which test purposes should use when running multi-threaded tests.


Variable Index

 o tet_block
 o tet_errno
 o tet_sequence

Constructor Index

 o TetThread(TestSession, Runnable)
 o TetThread(TestSession, Runnable, String)
Create a new thread for use with a TET TestSession.
 o TetThread(TestSession, String)
 o TetThread(ThreadGroup, Runnable)
 o TetThread(ThreadGroup, Runnable, String)
 o TetThread(ThreadGroup, String)

Variables

 o tet_errno
 public long tet_errno
 o tet_block
 public long tet_block
 o tet_sequence
 public long tet_sequence

Constructors

 o TetThread
 public TetThread(TestSession ts,
                  Runnable r,
                  String s)
Create a new thread for use with a TET TestSession. Within this new thread, messages sent to the journal will be in the same block as that of the parent thread unless the thread first calls tet_setblock() to change the block number. Note that the Test Case Controller automatically resequences messages from different blocks such that all the messages from a single block are grouped together for readability.

Parameters:
ts - the TET.TestSession with which the thread is being used
r - the target
s - the name of the thread
 o TetThread
 public TetThread(TestSession ts,
                  Runnable r)
 o TetThread
 public TetThread(TestSession ts,
                  String s)
 o TetThread
 public TetThread(ThreadGroup g,
                  Runnable t)
 o TetThread
 public TetThread(ThreadGroup g,
                  String n)
 o TetThread
 public TetThread(ThreadGroup g,
                  Runnable t,
                  String n)

All Packages  Class Hierarchy  This Package  Previous  Next  Index