com.jrockit.memleak.value
Class ThreadRoot
java.lang.Object
com.jrockit.memleak.value.ThreadRoot
- All Implemented Interfaces:
- IThreadRoot
public class ThreadRoot
- extends java.lang.Object
- implements IThreadRoot
Represents a thread root.
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
ThreadRoot
public ThreadRoot(java.lang.String name,
IMethodInfo methodInfo)
- Full constructor.
- Parameters:
name
- methodInfo
- may be null
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.