com.ibm.websphere.interrupt

Class ThreadDetails

  1. java.lang.Object
  2. extended bycom.ibm.websphere.interrupt.ThreadDetails
All implemented interfaces:
java.io.Serializable

  1. public final class ThreadDetails
  2. extends java.lang.Object
  3. 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

Constructor and Description
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

Modifier and Type Method and Description
  1. java.lang.String
getAsid()
Gets the ASID that this ThreadDetails object was obtained from.
  1. java.lang.String
getControllerReceiveTime()
Gets the time the request represented by this object was received into the controller region
  1. java.lang.String
getCPUTimeUsedLimit()
Gets the CPU Time Used limit for this request.
  1. java.lang.String
getDispatchTime()
Gets the time the request represented by this object was dispatched into the servant region.
  1. java.lang.String
getElapsedExecutionTime()
Gets the elapsed execution time (in seconds) for this request.
  1. boolean
getGivenUp()
Tells us if we have given up trying to interrupt this request.
  1. java.lang.String
getHungReason()
Gets the reason that the request represented by this object is considered hung.
  1. 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.
  1. java.util.List<java.lang.String>
getOdiInfo()
Gets information about the InterruptObject instances which are registered for the request represented by this object.
  1. java.lang.String
getOutboundTimeout()
Gets the outbound timeout value for this request.
  1. java.lang.String
getQueuedToWLMTime()
Gets the time the request represented by this object was queued to WLM from the controller region
  1. int
getRequestId()
Gets the request ID for the request represented by this object.
  1. java.lang.String
getRequestTimeout()
Gets the request time out value.
  1. java.lang.String
getTcb()
Gets the tcb address of the thread on which the request represented by this object is running.
  1. boolean
getTriedToInterrupt()
Tells us if we have tried to interrupt this request using the interruptible thread infrastructure.
  1. boolean
internalWorkThread()
Tells us that only internal work is driven on this thread
  1. 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

  1. public ThreadDetails(java.lang.String asid,
  2. java.lang.String tcb,
  3. int requestId,
  4. boolean isJvmBlocked,
  5. boolean triedToInterrupt,
  6. boolean givenUp,
  7. boolean internalWorkThread,
  8. java.lang.String hungReason,
  9. java.lang.String SRdispatchTime,
  10. java.lang.String CTLReceivedTime,
  11. java.lang.String CTLQueuedToWLMTime,
  12. java.lang.String requestTimeout,
  13. java.lang.String elapsedExecutionTime,
  14. java.lang.String cpuTimeUsedLimit,
  15. java.lang.String outboundTimeout,
  16. java.util.LinkedList<java.lang.String> odiInfo)
Constructor

Method Detail

getAsid

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

getTcb

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

getRequestId

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

getIsJvmBlocked

  1. 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

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

getGivenUp

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

internalWorkThread

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

getHungReason

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

getDispatchTime

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

getControllerReceiveTime

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

getQueuedToWLMTime

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

getRequestTimeout

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

getElapsedExecutionTime

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

getCPUTimeUsedLimit

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

getOutboundTimeout

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

getOdiInfo

  1. 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

  1. public java.lang.String toString( )
toString
Overrides:
toString in class java.lang.Object