Home Corporate Contacts

TETware Java Documentation


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.


Constructor Index

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

Constructors

 o TetThread
 public TetThread(TestSession ts,
                  Runnable target,
                  String name,
                  long waitTime)
Create a new thread for use with a TET TestSession.

Any threads created in a test purpose using this constructor will be automatically cleaned up by the TCM at the end of the test purpose.

Parameters:
ts - the TestSession object for the current test run.
target - the target.
name - the name of the thread.
waitTime - number of milliseconds for which the TCM cleanup code will wait for this thread to die after the main thread returns.
 o TetThread
 public TetThread(TestSession ts,
                  Runnable target,
                  String name)
Create a new thread for use with a TET TestSession.

Any threads created in a test purpose using this constructor will be automatically cleaned up by the TCM at the end of the test purpose.

Parameters:
ts - the TestSession object for the current test run.
target - the target.
name - the name of the thread.
 o TetThread
 public TetThread(TestSession ts,
                  Runnable target,
                  long waitTime)
Create a new thread for use with a TET TestSession.

Any threads created in a test purpose using this constructor will be automatically cleaned up by the TCM at the end of the test purpose.

Parameters:
ts - the TestSession object for the current test run.
target - the target.
waitTime - number of milliseconds for which the TCM cleanup code will wait for this thread to die after the main thread returns.
See Also:
TetThread
 o TetThread
 public TetThread(TestSession ts,
                  Runnable target)
Create a new thread for use with a TET TestSession.

Any threads created in a test purpose using this constructor will be automatically cleaned up by the TCM at the end of the test purpose.

Parameters:
ts - the TestSession object for the current test run.
target - the target.
See Also:
TetThread
 o TetThread
 public TetThread(TestSession ts,
                  String name,
                  long waitTime)
Create a new thread for use with a TET TestSession.

Any threads created in a test purpose using this constructor will be automatically cleaned up by the TCM at the end of the test purpose.

Parameters:
ts - the TestSession object for the current test run.
name - the name of the thread.
waitTime - number of milliseconds for which the TCM cleanup code will wait for this thread to die after the main thread returns.
See Also:
TetThread
 o TetThread
 public TetThread(TestSession ts,
                  String name)
Create a new thread for use with a TET TestSession.

Parameters:
ts - the TestSession with which the thread is being used.
name - the name of the thread.
See Also:
TetThread
 o TetThread
 public TetThread(ThreadGroup group,
                  Runnable target,
                  String name)
Create a new thread. It is recommended that all instances are created using one of the constructors which take a TestSession argument.

Parameters:
group - the thread group.
target - the target.
name - the name of the thread.
 o TetThread
 public TetThread(ThreadGroup group,
                  Runnable target)
Create a new thread. See recommendations for TetThread.TetThread(ThreadGroup, Runnable, String).

Parameters:
group - the thread group.
target - the target.
See Also:
TetThread
 o TetThread
 public TetThread(ThreadGroup group,
                  String name)
Create a new thread. See recommendations for TetThread.TetThread(ThreadGroup, Runnable, String).

Parameters:
group - the thread group.
name - the name of the thread.
See Also:
TetThread

All Packages Class Hierarchy This Package Previous Next Index

Home Contacts Legal Copyright Corporate News

Copyright © The Open Group 1995-2012, All Rights Reserved