com.ibm.websphere.interrupt

Class ThreadInformation

  1. java.lang.Object
  2. extended bycom.ibm.websphere.interrupt.ThreadInformation
All implemented interfaces:
java.io.Serializable, java.lang.Iterable<ThreadDetails>

  1. public final class ThreadInformation
  2. extends java.lang.Object
  3. implements java.lang.Iterable<ThreadDetails>, java.io.Serializable
A WebSphere programming model extension which allows request level information to be returned through the InterruptibleThreadInfrastructure MBean.
See Also:
Serialized Form

Constructor Summary

Constructor and Description
ThreadInformation(java.util.LinkedList<ThreadDetails> list)
Constructor

Method Summary

Modifier and Type Method and Description
  1. void
clear()
Clears the ThreadInformation object.
  1. java.util.Iterator<ThreadDetails>
iterator()
Returns an iterator of ThreadDetails objects.
  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

ThreadInformation

  1. public ThreadInformation(java.util.LinkedList<ThreadDetails> list)
Constructor

Method Detail

clear

  1. public void clear()
Clears the ThreadInformation object.

iterator

  1. public java.util.Iterator<ThreadDetails> iterator( )
Returns an iterator of ThreadDetails objects. Each object in the list represents a request running on a thread in the server from which the list is obtained.
Specified by:
iterator in interface java.lang.Iterable<ThreadDetails>

toString

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