org.eclipse.mat.inspections.threads
Class ThreadOverviewQuery

java.lang.Object
  extended by org.eclipse.mat.inspections.threads.ThreadOverviewQuery
All Implemented Interfaces:
IQuery

public class ThreadOverviewQuery
extends Object
implements IQuery


Field Summary
static String CLASS_THREAD
           
 IHeapObjectArgument objects
           
 ISnapshot snapshot
           
 
Constructor Summary
ThreadOverviewQuery()
           
 
Method Summary
 IResult execute(IProgressListener listener)
          The execute method is called after all arguments have been injected into the query instance.
static boolean isThread(ISnapshot snapshot, int objectId)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

snapshot

public ISnapshot snapshot

objects

public IHeapObjectArgument objects

CLASS_THREAD

public static final String CLASS_THREAD
See Also:
Constant Field Values
Constructor Detail

ThreadOverviewQuery

public ThreadOverviewQuery()
Method Detail

execute

public IResult execute(IProgressListener listener)
                throws Exception
Description copied from interface: IQuery
The execute method is called after all arguments have been injected into the query instance. Typical results are TextResult, CompositeResult, SectionSpec etc.

Specified by:
execute in interface IQuery
Parameters:
listener - Monitor to report progress and check for cancellation.
Returns:
The result of the query.
Throws:
Exception

isThread

public static boolean isThread(ISnapshot snapshot,
                               int objectId)
                        throws SnapshotException
Throws:
SnapshotException