Package org.eclipse.jetty.util
Class LeakDetector.LeakInfo
- java.lang.Object
-
- java.lang.ref.Reference<T>
-
- java.lang.ref.PhantomReference<T>
-
- org.eclipse.jetty.util.LeakDetector.LeakInfo
-
- Enclosing class:
- LeakDetector<T>
public class LeakDetector.LeakInfo extends java.lang.ref.PhantomReference<T>
Information about the leak of a resource.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getResourceDescription()
java.lang.Throwable
getStackFrames()
java.lang.String
toString()
-
-
-
Method Detail
-
getResourceDescription
public java.lang.String getResourceDescription()
- Returns:
- the resource description as provided by the resource's
Object.toString()
method.
-
getStackFrames
public java.lang.Throwable getStackFrames()
- Returns:
- a Throwable instance that contains the stack frames at the time of resource acquisition.
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-