IBM WebSphere Application ServerTM
Release 8

com.ibm.websphere.interrupt
Class ThreadDetails

java.lang.Object
  extended by com.ibm.websphere.interrupt.ThreadDetails
All Implemented Interfaces:
java.io.Serializable

public final class ThreadDetails
extends java.lang.Object
implements java.io.Serializable

A WebSphere programming model extension which allows request level information to be returned through the InterruptibleThreadInfrastructure MBean. Each instance of this object represents a request running on a thread in the server from which this object is obtained.

See Also:
Serialized Form

Constructor Summary
ThreadDetails(java.lang.String asid, java.lang.String tcb, int requestId, boolean isJvmBlocked, boolean triedToInterrupt, boolean givenUp, boolean internalWorkThread, java.lang.String hungReason, java.lang.String SRdispatchTime, java.lang.String CTLReceivedTime, java.lang.String CTLQueuedToWLMTime, java.lang.String requestTimeout, java.lang.String elapsedExecutionTime, java.lang.String cpuTimeUsedLimit, java.lang.String outboundTimeout, java.util.LinkedList<java.lang.String> odiInfo)
          Constructor
 
Method Summary
 java.lang.String getAsid()
          Gets the ASID that this ThreadDetails object was obtained from.
 java.lang.String getControllerReceiveTime()
          Gets the time the request represented by this object was received into the controller region
 java.lang.String getCPUTimeUsedLimit()
          Gets the CPU Time Used limit for this request.
 java.lang.String getDispatchTime()
          Gets the time the request represented by this object was dispatched into the servant region.
 java.lang.String getElapsedExecutionTime()
          Gets the elapsed execution time (in seconds) for this request.
 boolean getGivenUp()
          Tells us if we have given up trying to interrupt this request.
 java.lang.String getHungReason()
          Gets the reason that the request represented by this object is considered hung.
 boolean getIsJvmBlocked()
          Tells us if the request represented by this object is blocked on an operation which can be (potentially) unblocked by calling the JVM.
 java.util.List<java.lang.String> getOdiInfo()
          Gets information about the InterruptObject instances which are registered for the request represented by this object.
 java.lang.String getOutboundTimeout()
          Gets the outbound timeout value for this request.
 java.lang.String getQueuedToWLMTime()
          Gets the time the request represented by this object was queued to WLM from the controller region
 int getRequestId()
          Gets the request ID for the request represented by this object.
 java.lang.String getRequestTimeout()
          Gets the request time out value.
 java.lang.String getTcb()
          Gets the tcb address of the thread on which the request represented by this object is running.
 boolean getTriedToInterrupt()
          Tells us if we have tried to interrupt this request using the interruptible thread infrastructure.
 boolean internalWorkThread()
          Tells us that only internal work is driven on this thread
 java.lang.String toString()
          toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ThreadDetails

public ThreadDetails(java.lang.String asid,
                     java.lang.String tcb,
                     int requestId,
                     boolean isJvmBlocked,
                     boolean triedToInterrupt,
                     boolean givenUp,
                     boolean internalWorkThread,
                     java.lang.String hungReason,
                     java.lang.String SRdispatchTime,
                     java.lang.String CTLReceivedTime,
                     java.lang.String CTLQueuedToWLMTime,
                     java.lang.String requestTimeout,
                     java.lang.String elapsedExecutionTime,
                     java.lang.String cpuTimeUsedLimit,
                     java.lang.String outboundTimeout,
                     java.util.LinkedList<java.lang.String> odiInfo)
Constructor

Method Detail

getAsid

public java.lang.String getAsid()
Gets the ASID that this ThreadDetails object was obtained from.


getTcb

public java.lang.String getTcb()
Gets the tcb address of the thread on which the request represented by this object is running.


getRequestId

public int getRequestId()
Gets the request ID for the request represented by this object.


getIsJvmBlocked

public boolean getIsJvmBlocked()
Tells us if the request represented by this object is blocked on an operation which can be (potentially) unblocked by calling the JVM. Such operations include blocking network I/O, such as a socket read.


getTriedToInterrupt

public boolean getTriedToInterrupt()
Tells us if we have tried to interrupt this request using the interruptible thread infrastructure.


getGivenUp

public boolean getGivenUp()
Tells us if we have given up trying to interrupt this request.


internalWorkThread

public boolean internalWorkThread()
Tells us that only internal work is driven on this thread. @515766A


getHungReason

public java.lang.String getHungReason()
Gets the reason that the request represented by this object is considered hung.


getDispatchTime

public java.lang.String getDispatchTime()
Gets the time the request represented by this object was dispatched into the servant region.


getControllerReceiveTime

public java.lang.String getControllerReceiveTime()
Gets the time the request represented by this object was received into the controller region. @515766A


getQueuedToWLMTime

public java.lang.String getQueuedToWLMTime()
Gets the time the request represented by this object was queued to WLM from the controller region. @515766A


getRequestTimeout

public java.lang.String getRequestTimeout()
Gets the request time out value. @TODO0192A


getElapsedExecutionTime

public java.lang.String getElapsedExecutionTime()
Gets the elapsed execution time (in seconds) for this request. @TODO0192A


getCPUTimeUsedLimit

public java.lang.String getCPUTimeUsedLimit()
Gets the CPU Time Used limit for this request. @TODO0192A


getOutboundTimeout

public java.lang.String getOutboundTimeout()
Gets the outbound timeout value for this request. @TODO0192A


getOdiInfo

public java.util.List<java.lang.String> getOdiInfo()
Gets information about the InterruptObject instances which are registered for the request represented by this object. The information is returned as a list, consisting of pairs of strings represeting InterruptObject names and details. When an iterator is obtained on this list, the values alternate between a name and the associated description.


toString

public java.lang.String toString()
toString

Overrides:
toString in class java.lang.Object

IBM WebSphere Application ServerTM
Release 8