IBM Rational Performance Tester SDK

com.ibm.rational.test.lt.kernel.engine
Interface IKThread

All Known Subinterfaces:
IKSubsystem, IWorker
All Known Implementing Classes:
KSubsystem, com.ibm.rational.test.lt.kernel.engine.impl.KThread

public interface IKThread


Field Summary
static short ERROR
           
static short OK
           
static String[] status
           
static short SWAMPED
           
static short UNKNOWN
           
static short WIGGED_OUT
           
static short WORKING
           
 
Method Summary
 String getCurrentJob()
          Thread's current task.
 String getHealth()
          Thread health.
 String getLastJob()
          Thread's last task.
 int getNumActiveActions()
          Number of actions managed by the thread.
 void ringIn()
          A ping a thread should call to indicate it is still alive.
 String status()
          Thread status.
 void updateJob(String job)
          Update current job.
 

Field Detail

OK

static final short OK
See Also:
Constant Field Values

UNKNOWN

static final short UNKNOWN
See Also:
Constant Field Values

WORKING

static final short WORKING
See Also:
Constant Field Values

SWAMPED

static final short SWAMPED
See Also:
Constant Field Values

WIGGED_OUT

static final short WIGGED_OUT
See Also:
Constant Field Values

ERROR

static final short ERROR
See Also:
Constant Field Values

status

static final String[] status
Method Detail

getHealth

String getHealth()
Thread health.

Returns:
Any string thread wishes to inform engine of health.

status

String status()
Thread status.

Returns:
The static string status.

ringIn

void ringIn()
A ping a thread should call to indicate it is still alive.


getLastJob

String getLastJob()
Thread's last task.

Returns:
The last job performed by the thread.

getCurrentJob

String getCurrentJob()
Thread's current task.

Returns:
The current job being performaned by the thread.

getNumActiveActions

int getNumActiveActions()
Number of actions managed by the thread.

Returns:
The number of actions or items managed by the thread.

updateJob

void updateJob(String job)
Update current job.


IBM Rational Performance Tester SDK

© Copyright IBM Corp. 2012. All rights reserved.