public static interface

CloseableReference.LeakHandler

com.facebook.common.references.CloseableReference.LeakHandler

Summary

Public Methods
abstract void reportLeak(SharedReference<Object> reference, Throwable stacktrace)
abstract boolean requiresStacktrace()
Indicate whether the reportLeak(SharedReference, Throwable) method expects a stacktrace.

Public Methods

public abstract void reportLeak (SharedReference<Object> reference, Throwable stacktrace)

public abstract boolean requiresStacktrace ()

Indicate whether the reportLeak(SharedReference, Throwable) method expects a stacktrace. This is expensive and should only be used sparingly.