com.jrockit.memleak.value
Class ThreadRoot

java.lang.Object
  extended by com.jrockit.memleak.value.ThreadRoot
All Implemented Interfaces:
IThreadRoot

public class ThreadRoot
extends java.lang.Object
implements IThreadRoot

Represents a thread root.


Field Summary
 
Fields inherited from interface com.jrockit.memleak.IThreadRoot
EMPTY_ARRAY
 
Constructor Summary
ThreadRoot(java.lang.String name, IMethodInfo methodInfo)
          Full constructor.
 
Method Summary
 boolean equals(java.lang.Object that)
           
 IMethodInfo getMethodInfo()
           
 java.lang.String getThreadName()
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ThreadRoot

public ThreadRoot(java.lang.String name,
                  IMethodInfo methodInfo)
Full constructor.

Parameters:
name -
methodInfo - may be null
Method Detail

getThreadName

public java.lang.String getThreadName()
Specified by:
getThreadName in interface IThreadRoot
Returns:
the name of the thread.

getMethodInfo

public IMethodInfo getMethodInfo()
Specified by:
getMethodInfo in interface IThreadRoot
Returns:
the IMethodInfo of the method that has the reference on it's stack.

equals

public boolean equals(java.lang.Object that)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

toString

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


Copyright © 1999, 2011, Oracle and/or its affiliates. All rights reserved.